[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: |
Óscar Fuentes |
Subject: |
Re: The Emacs master is much slower than the emacs-27 branch. |
Date: |
Sat, 05 Dec 2020 15:47:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
martin rudalics <rudalics@gmx.at> writes:
>> I don't know what happens on your computer (what is your
>> platform/compiler?) but on mine (Debian GNU/Linux with the latest
>> Linux kernel and the latest GCC) the effect on -O0 is almost the
>> same as on -Og for this particular benchmark. I just tried again on
>> the emacs-27 branch:
>>
>> -Og: ~67s
>> -O0: ~63s
>> -O1: ~26s
>> -O2: ~18s
>> -O3: ~17s
>
> So when I want to compare Emacs 27 and Emacs 28 benchmarks, -Og builds
> are off limits. Now can I use O0 builds or do I have to use O1-O3
> builds exclusively?
-Og is the recommended setting for the edit/build/debug cycle [1],
because it *improves* debug info accuracy over -O0 *and* also runs
faster, which is a significant bonus. So IMHO it is a good thing to not
regress -Og too much. -O0, on the other hand, shouldn't be a concern.
1. https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
- Re: The Emacs master is much slower than the emacs-27 branch., (continued)
- Re: The Emacs master is much slower than the emacs-27 branch., Gregory Heytings, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Óscar Fuentes, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Eli Zaretskii, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., martin rudalics, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Gregory Heytings, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Eli Zaretskii, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Gregory Heytings, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Eli Zaretskii, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch.,
Óscar Fuentes <=
- Re: The Emacs master is much slower than the emacs-27 branch., martin rudalics, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Gregory Heytings, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., martin rudalics, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Gregory Heytings, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Óscar Fuentes, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Gregory Heytings, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Eli Zaretskii, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Gregory Heytings, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Eli Zaretskii, 2020/12/05
- Re: The Emacs master is much slower than the emacs-27 branch., Arthur Miller, 2020/12/04