Floorp-Projects / Floorp

All of source code of version 10 or later of Floorp Browser, the most Advanced and Fastest Firefox derivative 🦊
https://floorp.app
Other
6.04k stars 168 forks source link

[Bug]: Low Performance than other forks probably due to compiler optimisations like avx not being used. #1517

Open Rtizer-9 opened 6 days ago

Rtizer-9 commented 6 days ago

Pre-Submission Checklist

Bug Summary

Reproduction Steps

  1. Install Firefox release/nightly, Floorp, Mercury, Zen (zip, appimage,flatpak both specific and generic versions) and visit about:buildconfig and run speedometer.

Expected Behavior

Floorp should have similar if not much higher scores than zen and mercury.

Actual Behavior

Floorp is missing many compiler optimisation flags and performs low than zen and mercury in speedometer test.

Screenshots

zen-specific Zen-specific Nightly Nightly mercury Mercury floorp Floorp

Browser Version

11.20

Operating System

Kubuntu 24.10

Additional Context

No response

CutterKnife commented 6 days ago

Floorp 11 is based on Firefox ESR128 and may not be comparable to the fork that follows Rapid Release.

Rtizer-9 commented 5 days ago

In the screenshot Nightly is 134.xx and Zen is 132.xx and yet Zen manages to beat it. Mercury is 129 based.

I'm not asking to improve Floorp 11 only and I've already mentioned about different bases; I'm simply mentioning that floorp is not using compiler optimisations like others.

Whether it's 11 or 12, the optimisations need to be used like all other forks and that is something which can be applied to any release.

With the present compiler flags even if floorp 12 bases on a nightly, it'll still perform lower than some other fork using optimisations like avx. That's the point.

typeling1578 commented 5 days ago

These optimization flags need to be carefully considered as they can affect compatibility.

Additionally, it is important to consider that providing optimized binaries separately could double the build cost.