Mercury - a Firefox work with compiler optimizations

https://discuss.tchncs.de/post/10370736

Mercury - a Firefox fork with compiler optimizations - tchncs

I was looking for a non-chromium alternative browser to Firefox and found mercury. According to this site [https://scribe.rip/@mihirgrand/comparing-popular-firefox-forks-6fa83fdfdaad] it is one of the fastest Firefox forks and also has optimizations from other well known forks like librewolf.

It is based off ESR but the flags are really cool!

You can build Firefox yourself, takes like 30min on a modern Laptop.

I did that to remove the jemalloc memory allocator, to make it work on Secureblue

Just havent found how to compile regular Releases yet.

All hail the mighty AUR ;)
just make sure to download one of the newer versions without the furry porn
Where can I get the versions WITH the furry porn
Easy, you start with the one without and add it yourself.
After the shenanigans with that dev and his other project, Thorium. No fucking thanks.
Could you elaborate? I’m not familiar with the drama.
Chris Titus Tech explains the issue well enough in this video.
Fucks sake, why does it have to be a 10 minute video to get a simple, short answer?

The developer included furry porn art as part of the code base of his other browser project, Thorium. He removed it after it was discovered.

from another user in this thread

Same user, just another comment
You should really give a TL;DR in addition to just slapping down a video link and saying “have fun”
Out-of-the-loop here, what shenanigans?
The developer included furry porn art as part of the code base of his other browser project, Thorium. He removed it after it was discovered.
Do I really want to know what furry porn is?🤨
Don’t ever go to 4chan. Ever. You will lose your innocence.
Thanks for pointing it out 😂
Its an art form depicting humanoid animals engaging in sexual activities
Oh well - why should one integrate this in a browser lol? Jesus sometimes I regret sharing something I think is good at first glance - but well I think I will then go back to librewolf
Mercury is ESR and not privacy focused. The dev found nice build flags though. Using Librewolf for privacy is always advised, if you dont compile FF yourself and use it with arkenfox and policies
Furries hold up the entire IT field though
Does this enable the x86-64-v4 (AVX512) optimisations? I’ve checked the github page but don’t see any references to x86-64-v4.

github.com/Alex313031/Mercury/blob/…/mozconfig

You can likely use Mozillas documentation to optimize your Firefox that way

Mercury/mozconfigs/mozconfig at main · Alex313031/Mercury

Firefox fork with compiler optimizations and patches from Librewolf, Waterfox, and GNU IceCat. - Alex313031/Mercury

GitHub

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.

Mercury/mozconfigs/mozconfig at main · Alex313031/Mercury

Firefox fork with compiler optimizations and patches from Librewolf, Waterfox, and GNU IceCat. - Alex313031/Mercury

GitHub

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!

Tried this myself, performance differences are non existent. In fact I noticed more regressions on speedometer than implements.

Don’t bother, use Floorp instead.

Interesting, because I saw a 20 point increase between vanilla Firefox and Mercury when testing last night.
Floorp looks nice in theory but in practice it is very outdated…
Been using it, absolutely cannot recommend.
Any reasons why you can't recommend it?
I mean, “it’s shit” is technically discussion but I was hoping for more too lol
You won’t notice any difference whatsoever.