[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Redisplay slower in Emacs 28 than Emacs 27
From: |
Gregory Heytings |
Subject: |
Redisplay slower in Emacs 28 than Emacs 27 |
Date: |
Mon, 07 Dec 2020 14:53:01 +0000 |
User-agent: |
Alpine 2.22 (NEB 394 2020-01-19) |
Following the "The Emacs master is much slower than the emacs-27 branch."
thread, I tested Alan's benchmark on the master branch. The platform I
used is a 64-bit GNU/Linux computer, with GCC 10.2.
It turns out that the 10-15% slowdown of redisplay in Emacs 28, compared
to Emacs 27, is due to a single character change, namely the "!" character
removed in commit 165fd028.
I attach three graphs of the timings calculated on various revisions of
master. The benchmark ran ten times on each revision; Emacs was compiled
with CFLAGS='-O2'. "timing-1.png" shows that the slowdown happens between
revision 68ff32a5 and 7445560d, "timing-2.png" narrows this to revisions
4c5043c5 to d3c73fbf, and "timing-3.png" identifies revision 165fd028 as
the cause of the problem.
timing-1.png
Description: PNG image
timing-2.png
Description: PNG image
timing-3.png
Description: PNG image
- Redisplay slower in Emacs 28 than Emacs 27,
Gregory Heytings <=
- Re: Redisplay slower in Emacs 28 than Emacs 27, Lars Ingebrigtsen, 2020/12/07
- Re: Redisplay slower in Emacs 28 than Emacs 27, Gregory Heytings, 2020/12/07
- Re: Redisplay slower in Emacs 28 than Emacs 27, Lars Ingebrigtsen, 2020/12/07
- Re: Redisplay slower in Emacs 28 than Emacs 27, Gregory Heytings, 2020/12/07
- Re: Redisplay slower in Emacs 28 than Emacs 27, Lars Ingebrigtsen, 2020/12/07
- Re: Redisplay slower in Emacs 28 than Emacs 27, Gregory Heytings, 2020/12/07
- Re: Redisplay slower in Emacs 28 than Emacs 27, Gregory Heytings, 2020/12/07
- Re: Redisplay slower in Emacs 28 than Emacs 27, Lars Ingebrigtsen, 2020/12/07
- Re: Redisplay slower in Emacs 28 than Emacs 27, Gregory Heytings, 2020/12/07
- Re: Redisplay slower in Emacs 28 than Emacs 27, Eli Zaretskii, 2020/12/07