emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The Emacs master is much slower than the emacs-27 branch.


From: Eli Zaretskii
Subject: Re: The Emacs master is much slower than the emacs-27 branch.
Date: Fri, 04 Dec 2020 21:58:46 +0200

> Date: Fri, 04 Dec 2020 19:27:37 +0000
> From: Gregory Heytings <ghe@sdf.org>
> cc: Stephen Berman <stephen.berman@gmx.net>, acm@muc.de, emacs-devel@gnu.org
> 
> Indeed with CFLAGS='-Og -g3', on my computer (Debian GNU/Linux, GCC 
> 10.2.0) with 28.0.50 this benchmark takes 25.2 seconds, whereas with 
> 27.1.50 it takes 67.6 seconds.
> 
> I bisected this, and the origin of the regression is commit 
> 365dad197bac5deec9244fd9c189d23c46c99b31, which changes the default to 
> "use 'static' instead of 'extern inline' [in C headers] because 'static' 
> typically has better performance for Emacs".  With -Og or -O0, the 
> benchmark takes 67 seconds, with -O1 or above (-O2 is the default) it 
> takes 25 seconds.

Thanks, then I think there''s no issue here, and we can stop wondering
about the difference in performance.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]