Le 18/04/2019 à 15:49, Jean-Marc Lasgouttes a écrit :
commit c6754ed548deecdc37c5a019fb1e5a705dc44da5
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Thu Apr 18 11:53:36 2019 +0200
Do not redefine a stripped-down LyXRC object.
I am not sure why it was done this way, but it is not really necessary.
Moreover gcc LTO does not like it.
So it turns out that we can compile with LTO. Is it worth it? Here is
what I get, compared to a release build.
tanuki: size profdbuild/src/lyx ltodbuild/src/lyx
text data bss dec hex filename
17586230 376496 95364 18058090 1138b6a profdbuild/src/lyx
15979625 374656 94060 16448341 fafb55 ltodbuild/src/lyx
tanuki: ll --si profdbuild/src/lyx ltodbuild/src/lyx
-rwxrwxr-x 1 lasgoutt lasgoutt 17M avril 18 16:41 ltodbuild/src/lyx
-rwxrwxr-x 1 lasgoutt lasgoutt 18M avril 18 16:40 profdbuild/src/lyx
(note that the binaries are stripped).
The big question is: do we have performance improvements? I am not sure
how to measure that.
JMarc