--- Begin Message ---
Subject: |
Performance impact of -no-pie |
Date: |
Mon, 17 Oct 2016 13:18:51 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
(The rest of this message is copied from Alex's email archived at
<http://lists.gnu.org/archive/html/emacs-devel/2016-10/msg00451.html>.)
After being forced to add -no-pie to my CFLAGS in order to build Emacs with a
recent GCC, my startup time for my whole config (with -nw) has increased from
~1 second to ~2 seconds.
The startup time for `emacs -Q -nw` went up from about 0.07s to 0.14s; again
it's about twice as slow.
The -Q time doesn't worry me, but the extra second for my main configuration
isn't pleasant.
Is such a performance impact expected? If so, is there a plan to regain the old
speed?
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#24720: Performance impact of -no-pie |
Date: |
Tue, 18 Oct 2016 09:21:27 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 10/18/2016 08:59 AM, Glenn Morris wrote:
I'm going to guess that when you set it via CFLAGS, you lost the -O2
that is otherwise part of the default CFLAGS.
Yes, that sounds quite plausible. Thanks for the diagnosis. Closing the bug.
--- End Message ---