Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance is worse than upstream Firefox due to Mercury using ESR edition #69

Open
GrabbenD opened this issue Oct 27, 2023 · 4 comments

Comments

@GrabbenD
Copy link

Problem

Absolutely love the work you're doing here and all the patches are awesome!

However, the problem with Mercury is that it uses ESR edition of Firefox which lags behind in terms of updates.. Just using a newer version of Firefox gives better performance than what Mercury can offer with all the performance enhancements:
https://www.phoronix.com/review/mercury-firefox-perf

Furthermore there's more performance to be gained:

  • Arch Linux users can install firefox-vaapi (for better hardware acceleration support. It has to be compiled manually and by default /etc/makepkg.conf uses LTO as well as -march=native -O3 performance optimizations out of the box. PGO can easily be enabled as well).
  • Betterfox has privacy and performance optimized profiles

Solution?

Providing upstream releases with Betterfox profile could easily overtake every other fork of Firefox in terms of privacy and performance, especially with the CPU optimizations which Mercury currently offers.

@32803
Copy link

32803 commented Dec 9, 2023

I noticed this aswell, thought I was going insane when my own hardened firefox was beating mercury in every test.

@catbabylon
Copy link

catbabylon commented Jan 25, 2024

I'm still finding with latest v121 compared to vanilla Firefox running a fresh profile is getting approx 150 on speedometer 2 compared to approx 140 on a fresh profile on Mercury (with uBo disabled so the extension doesn't affect results), I'm on a Dell XPS 9300.

Is it that some of the privacy hardening patches are more demanding than the gains made from optimization of the code? Might test against Librewolf...

EDIT...

Realised I was using speedometer 2.0 at least some of the time so started again and compared between Firefox Mercury and Librewolf

Librefox was getting approx 130, Mercury approx 150 and Firefox approx 160

So I guess this suggests some of the privacy stuff Librefox devs add are more demanding, but the optimisations on Mercury help mitigate them...

@gz83 gz83 closed this as completed Sep 2, 2024
@GrabbenD
Copy link
Author

GrabbenD commented Sep 2, 2024

@gz83 @Alex313031 Issue closed without any reason? 🙁

@gz83
Copy link
Collaborator

gz83 commented Sep 2, 2024

This is a batch closing operation (can also be regarded as a ping), I will reopen the issues that still have new responses

@gz83 gz83 reopened this Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants