[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24720: Performance impact of -no-pie
From: |
Alex |
Subject: |
bug#24720: Performance impact of -no-pie |
Date: |
Mon, 17 Oct 2016 22:06:11 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Paul Eggert <eggert@cs.ucla.edu> writes:
>> Is such a performance impact expected? If so, is there a plan to regain the
> old speed?
>
> No, such a performance change is not expected.
>
> Can you reproduce the problem with the emacs-25 or master branches, without
> manually adding -no-pie to CFLAGS? The bleeding-edge versions of Emacs attack
> the problem in a slightly different way, which might affect performance less.
>
> If you still see a performance problem, can you narrow it down, e.g., by
> configuring it with --enable-profiling and seeing where the extra cycles are
> going?
Ah, I see. It looks like the bleeding-edge versions add -no-pie to
LDFLAGS instead of CFLAGS. Doing the same thing myself both to those
versions and the 25.1 tarball (which is what I was using before) now
results in the same performance as before, within error.
Is it a bug that adding -no-pie to CFLAGS slows startup and runtime
performance by a factor of 2?
I would have expected that -no-pie would generally be faster compared to
-pie. Is that not the case?
Thanks.
- bug#24720: Performance impact of -no-pie, Paul Eggert, 2016/10/17
- Message not available
- bug#24720: Performance impact of -no-pie, Paul Eggert, 2016/10/17
- bug#24720: Performance impact of -no-pie,
Alex <=
- bug#24720: Performance impact of -no-pie, Glenn Morris, 2016/10/18
- bug#24720: Performance impact of -no-pie, Paul Eggert, 2016/10/18
- bug#24720: Performance impact of -no-pie, Alex, 2016/10/19
- bug#24720: Performance impact of -no-pie, Eli Zaretskii, 2016/10/19
- bug#24720: Performance impact of -no-pie, Alex, 2016/10/19
- bug#24720: Performance impact of -no-pie, Eli Zaretskii, 2016/10/20
- bug#24720: Performance impact of -no-pie, Alex, 2016/10/20
- bug#24720: Performance impact of -no-pie, Alex, 2016/10/26
bug#24720: Performance impact of -no-pie, Cesar Quiroz, 2016/10/18