this post was submitted on 05 Feb 2024
86 points (88.4% liked)
Open Source
31256 readers
196 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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!