Alex313031 / Mercury

Firefox fork with compiler optimizations and patches from Librewolf, Waterfox, and GNU IceCat.
https://thorium.rocks/mercury
Mozilla Public License 2.0
1.03k stars 26 forks source link

[Feature Request] Post-Link Optimizations (BOLT, Propeller) #52

Open AndreVallestero opened 8 months ago

AndreVallestero commented 8 months ago

I didn't notice any mention of these optimization techniques in the docs. Could we also apply them to squeeze out a few percentage points of performance? From what I've seen, BOLT can improve performance by 3% for binaries already optimized with PGO and LTO.

gz83 commented 8 months ago

Mercury has now introduced appropriate optimization parameters, but unfortunately, due to Firefox's infrastructure limitations, the optimization parameters cannot be applied to all code and components, and at the same time, using more advanced optimization techniques in Firefox's code and components may face the same problem.

@AndreVallestero