Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
firefox: add ltoSupport and enable it by default #99922
Motivation for this change
Build Firefox with LTO support as upstream does. This change switches the compiler to clang and linker to lld.
The closure size increased by ~1% (586.6M -> 592.9M).
The resulting directory of interest did decrease in size (181M -> 179M).
Using the Speedometer 2.0 on an Intel Core 2 Duo CPU T7250 @ 2.00GHz.
The benchmark seems to show a performance increase of ~9% when going from non-LTO to LTO.
This is a considerably old machine so I am not sure how accurate the benchmark results are but I can give my opinion saying it feels smoother.