86
Mercury - a Firefox fork with compiler optimizations
(github.com)
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Community icon from opensource.org, but we are not affiliated with them.
Claims 7-10% performance improvement on an old AMD FX thing. No information about the baseline though; whether it's the terrible Snap or Firefox's official binary package. I suspect it's the former because it has known performance issues IIRC and the latter has quite good compiler optimisations already (LTO+PGO making most of the difference).
When I built Firefox for x86_64-v3, I saw no measurable improvement over x86_64-v1 in speedometer. I didn't dare to build the most security critical application on my system with unsafe compiler optimisations though..
What of those are unsafe?
https://github.com/Alex313031/Mercury/blob/main/mozconfigs/mozconfig
Everything involving
-O3
. That usually stands for "enable all standards-compliant compiler optimisations, no matter how how little their benefit or their stability".What would be even worse would be
-Ofast
which won't even care about strict standards compliance. No sane distributor distributes-Ofast
and the only distributor I'd trust to use-O3
correctly is Intel's Clear Linux.I don't know about
OPT_LEVEL
but it's likely an abstraction of the build system for this flag.Interesting. Thanks!