#1063897 firefox: poor performance compared to vendor package

Package:
firefox
Source:
firefox
Description:
Mozilla Firefox web browser
Submitter:
Lorenzo Bertini
Date:
2024-02-20 00:03:02 UTC
Severity:
normal
#1063897#5
Date:
2024-02-14 12:00:55 UTC
From:
To:
Dear Maintainer,

Firefox on debian (both ESR and sid versions) is performing poorly. Here are the
results on one of my machines, but it's consistent with all the others:

Test: Browserbench Speedometer 2.1 (https://browserbench.org/Speedometer2.1)

Gentoo:                         290 (+65%)
Debian sid with vendor package: 260 (+50%)
Debian sid firefox:             175 (-)
Debian sid firefox-esr:         160 (-10%)

Upon inspection, I think the cause is the optimization flags, including LTO, PGO, O3.
Please take this report in consideration, as the performance increase is massive.

Kind regards

#1063897#10
Date:
2024-02-14 15:49:59 UTC
From:
To:
Le 14/02/2024 à 13:00, Lorenzo Bertini a écrit :

it is expected and why Mozilla is providing a Debian package now

Cheers

Sylvestre

#1063897#15
Date:
2024-02-19 15:26:31 UTC
From:
To:
On Wed, 14 Feb 2024 16:49:59 +0100 Sylvestre Ledru  <sylvestre@mozilla.com> wrote:
 >
 > Le 14/02/2024 à 13:00, Lorenzo Bertini a écrit :
 > > Dear Maintainer,
 > >
 > > Firefox on debian (both ESR and sid versions) is performing poorly.
Here are the
 > > results on one of my machines, but it's consistent with all the others:
 > >
 > > Test: Browserbench Speedometer 2.1
(https://browserbench.org/Speedometer2.1)
 > >
 > > Gentoo: 290 (+65%)
 > > Debian sid with vendor package: 260 (+50%)
 > > Debian sid firefox: 175 (-)
 > > Debian sid firefox-esr: 160 (-10%)
 > >
 > > Upon inspection, I think the cause is the optimization flags,
including LTO, PGO, O3.
 > > Please take this report in consideration, as the performance
increase is massive.
 >

 > it is expected and why Mozilla is providing a Debian package now

AFACS, the packages provided by mozilla are only
nightly/devedition/beta, but there is no stable release with the
optimizations, or am I overlooking something?

#1063897#20
Date:
2024-02-19 23:55:14 UTC
From:
To:
Hi Laurent - and bug list,

I can confirm that the latest stable[1] is available via the Mozilla
Debian apt repo[2]. nightly/devedition/beta builds are also available
via the same repo for those that are interested.

[1] https://www.mozilla.org/en-US/firefox/122.0.1/releasenotes/
[2]
https://support.mozilla.org/en-US/kb/install-firefox-linux#w_install-firefox-deb-package-for-debian-based-distributions

I.e.:

user@laptop ~$ apt policy firefox
firefox:
   Installed: (none)
   Candidate: 122.0.1~build1
   Version table:
      122.0.1~build1 900
         900 https://packages.mozilla.org/apt mozilla/main amd64 Packages
      122.0~build2 900
         900 https://packages.mozilla.org/apt mozilla/main amd64 Packages

FWIW obviously I haven't (yet) installed the latest upstream stable -
but plan to in the near future.

Regards,
Jeremy