ld flag that gives ~40% startup time boost
John Richard Moser
nigelenki at comcast.net
Thu Jun 22 22:09:42 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Scott James Remnant wrote:
> On Thu, 2006-06-22 at 21:31 +0100, James Laver wrote:
>
>> On a sidenote, I'm rather fond of -O3 where it works (sqlite, for
>> example), but i typically go -O2 for most of my compiles.
>>
> -O7 gives the best gains, obviously.
>
I dunno, libpng seems to favor -O99...
- -O3 does things that make binaries load and run slower sometimes, but
under some conditions makes them faster. Among other things I think it
unrolls loops (which can cause excessive page faults during looping).
> Scott
>
- --
All content of all messages exchanged herein are left in the
Public Domain, unless otherwise explicitly stated.
Creative brains are a valuable, limited resource. They shouldn't be
wasted on re-inventing the wheel when there are so many fascinating
new problems waiting out there.
-- Eric Steven Raymond
We will enslave their women, eat their children and rape their
cattle!
-- Bosc, Evil alien overlord from the fifth dimension
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQIVAwUBRJsHEws1xW0HCTEFAQLMZQ/7Bk1QIUHKUAxTHj8J8Er4Gk2UEC2/7DJm
4MoEDKkHgf/eQqNXUKbok+xY7qoXNAlroc4zrM+O8KX9qs9PePw/Y5/ln8ys45Dz
1E6pcK2jIYRPJ4tb5WzcnffeGZCtrgo7WjzcbECL1RGfG8Qy84SmUvbxhr81SrZb
rWaZ5L/yc8nnVFvHaRPlCS6icmi/qZdgYbk6vHAUnrVPtfagAcCSPcxzyEpDgp7s
enN+IoNIkRKGBEH5yBzUfJnQUJJoLl0cdLDifBjKcR6XzQQmJsPIv79vXLWuryqS
Q6KHH9NG2+rZyojkSHe4HWDDhkePs24tVze6+waCkFdUfbYpVN3Y8EHfN1FdhIFl
c4rk3cxhLBA0OUlJ7o/QA/0B1ZJos7BoZwiMEg5JsD1xrUmv9Ke8+ctf3tCDzoPr
mr+cTFLUErMmr8rM2fJH6BEwzcciBKLKgIpTHLvkGyS7zEV0P6lpXqsZ57zHRkyB
uiMma6CeFsIfHA0qHIpc0BjTIpgdsFn6095CCere6fRXiknQNtVqhkeiscFXND7C
JQZmQeQvkV54Qojzf2ns9O1u2YWb69jxgDbIu2fihguKQSCuzGqOqGAr22s4gt9f
oT53WctTVO/pphs+dA4QlIhWYpuTHb+ZDrtexVIXXNL6wRds4m3gg1RPvc70SE4I
ADAnncu2qjw=
=Xivv
-----END PGP SIGNATURE-----
More information about the ubuntu-devel
mailing list