Forgot your password?
typodupeerror

+ - gcc LTO reduces firefox package size by 50%-> 1

Submitted by Anonymous Coward
An anonymous reader writes "Link Time Optimization used to be a lot of promise for little gain, and typically unable to deal with packages in the MSLOC range. Seemingly no longer. Reported in gcc's bugzilla is an impressive result for firefox:
'Firefox since version 30 as well as Thunderbird since version 31 both compile fine with LTO enabled without the need of any additional patches. The package size was reduced by 51% (firefox ~420MB -> ~207MB) and 59% (thunderbird ~480MB -> ~200MB). Both programs work as intended, no crashes or unexpected behaviour so far.'
Has time come to rebuild the world using LTO ?"

Link to Original Source
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

gcc LTO reduces firefox package size by 50%

Comments Filter:
  • The "article" is just a pointer to the bugtracker entry which is good but lacks any clues as to measured performance.

    LTO has been a win in commercial workflows for many years. Obviously it can be an obstacle for debugging (when entire call trees are eliminated or collapsed single stepping in the debugger is problematic) and if build times become excessive the results may not be worth the cost.

    But in the end the real payoff is runtime. Without impressive speed ups for user critical to acceptability operation

The bomb will never go off. I speak as an expert in explosives. -- Admiral William Leahy, U.S. Atomic Bomb Project

Working...