Skip to content

Conversation

@cevdetta
Copy link
Contributor

Improvements overall with be

  • independent from X libraries, (libxss)
  • disable debug
  • enable strip
  • use system libraries like "png" and "pipewire".

…bug, enable strip, use system libraries like "png" and "pipewire".
@TheWyn
Copy link
Contributor

TheWyn commented Sep 1, 2025

Did you test?
image

@cevdetta
Copy link
Contributor Author

cevdetta commented Sep 2, 2025

Did you test? image

It seems that I've added it: https://searchfox.org/firefox-main/source/browser/config/mozconfigs/win32/mingwclang#34
because of that but we do build it on Linux, that's why there is no option like that so we just need to remove that line.

@cevdetta
Copy link
Contributor Author

cevdetta commented Sep 10, 2025

Proposal to add --disable-accessibility, --disable-synth-speechd and --disable-webspeech for example in order to gain performance.

Proposal to add --enable-audio-backends and explicitly state which audio backends to choose: in Wayland, it's suggested to use Pipewire, and Pipewire has alsa, pulse and jack plugins; almost always there is a need for pipewire-alsa thus it could be better to just use alsa and disable pulseaudio too. According to Gentoo Wiki Firefox : PulseAudio (Rust) has Tier-1 support whereas Alsa and Jack have Tier-3, we already disabled jack it'd be better to just use alsa or we can consider to use pulseaudio?

cevdetta and others added 2 commits September 11, 2025 14:55
Co-authored-by: Vasiliy Stelmachenok <92667539+ventureoo@users.noreply.github.com>
…able 'pulseaudio':

- Remove '--enable-clang-plugin', not needed, it's for static analysis.
- Remove duplicated declaration of '--enable-optimize', because afterwards it's already declared as '--enable-optimize=-O3'.
- Enable 'pulseaudio' because 'pulse-rust' has the Tier-1 support and until there is support for Pipewire, it's the best we've apart from 'alsa'.
- Change '--enable-application' to '--enable-project' because it's the [new default that is used by Mozilla](mozilla-firefox/firefox@432b8b8).
- Add '--disable-rust-tests' alongside with '--disable-tests'.
- Remove support for Windows specific things with '--disable-wmf' and '--disable-negotiateauth'.
- Remove support for legacy behaviour with '--disable-legacy-profile-creation'.
- Add '--disable-accessibility' for performance.
- Add '--disable-webdriver' to disable remote stuff.
- Add '--disable-real-time-tracing' to disable tracking.
- Add '--disable-gecko-profiler' to disable profiler inside Firefox.
@cevdetta cevdetta requested a review from ventureoo September 11, 2025 14:20
@ventureoo
Copy link
Owner

Except PipeWire thing, build works fine and I haven't noticed any regressions yet.

@cevdetta
Copy link
Contributor Author

Except PipeWire thing, build works fine and I haven't noticed any regressions yet.

Awesome, can you check the difference (build times, binary size, and maybe a web benchmark) ?

@ventureoo
Copy link
Owner

Except PipeWire thing, build works fine and I haven't noticed any regressions yet.

Awesome, can you check the difference (build times, binary size, and maybe a web benchmark) ?

I made a build without v3, so it probably doesn’t make any sense to compare yet. Please push removal of system pipewire so I can start CI and get the artifact for us.

@cevdetta
Copy link
Contributor Author

Except PipeWire thing, build works fine and I haven't noticed any regressions yet.

Awesome, can you check the difference (build times, binary size, and maybe a web benchmark) ?

I made a build without v3, so it probably doesn’t make any sense to compare yet. Please push removal of system pipewire so I can start CI and get the artifact for us.

Done.

@ventureoo
Copy link
Owner

Except PipeWire thing, build works fine and I haven't noticed any regressions yet.

Awesome, can you check the difference (build times, binary size, and maybe a web benchmark) ?

I made a build without v3, so it probably doesn’t make any sense to compare yet. Please push removal of system pipewire so I can start CI and get the artifact for us.

Done.

Package size reduced a bit, compilation time on CI has not changed.

Package (1)   Old Version  New Version  Net Change

firefox-pure  142.0.1-1    142.0.1-1     -9.26 MiB

Total Installed Size:  246.02 MiB
Net Upgrade Size:       -9.26 MiB

Also please bump new pkgver both in PKGBUILD and .SRCINFO, then I can merge it.

@cevdetta
Copy link
Contributor Author

Except PipeWire thing, build works fine and I haven't noticed any regressions yet.

Awesome, can you check the difference (build times, binary size, and maybe a web benchmark) ?

I made a build without v3, so it probably doesn’t make any sense to compare yet. Please push removal of system pipewire so I can start CI and get the artifact for us.

Done.

Package size reduced a bit, compilation time on CI has not changed.

Package (1)   Old Version  New Version  Net Change

firefox-pure  142.0.1-1    142.0.1-1     -9.26 MiB

Total Installed Size:  246.02 MiB
Net Upgrade Size:       -9.26 MiB

Also please bump new pkgver both in PKGBUILD and .SRCINFO, then I can merge it.

pkgver or pkgrel? and if pkgver should I change it from 142.0.1 to 142.0.1-1? or should I change pkgrel from 1 to 2?

@ventureoo
Copy link
Owner

Except PipeWire thing, build works fine and I haven't noticed any regressions yet.

Awesome, can you check the difference (build times, binary size, and maybe a web benchmark) ?

I made a build without v3, so it probably doesn’t make any sense to compare yet. Please push removal of system pipewire so I can start CI and get the artifact for us.

Done.

Package size reduced a bit, compilation time on CI has not changed.

Package (1)   Old Version  New Version  Net Change

firefox-pure  142.0.1-1    142.0.1-1     -9.26 MiB

Total Installed Size:  246.02 MiB
Net Upgrade Size:       -9.26 MiB

Also please bump new pkgver both in PKGBUILD and .SRCINFO, then I can merge it.

pkgver or pkgrel? and if pkgver should I change it from 142.0.1 to 142.0.1-1? or should I change pkgrel from 1 to 2?

Yeah, I meant pkgrel.

@cevdetta
Copy link
Contributor Author

Except PipeWire thing, build works fine and I haven't noticed any regressions yet.

Awesome, can you check the difference (build times, binary size, and maybe a web benchmark) ?

I made a build without v3, so it probably doesn’t make any sense to compare yet. Please push removal of system pipewire so I can start CI and get the artifact for us.

Done.

Package size reduced a bit, compilation time on CI has not changed.

Package (1)   Old Version  New Version  Net Change

firefox-pure  142.0.1-1    142.0.1-1     -9.26 MiB

Total Installed Size:  246.02 MiB
Net Upgrade Size:       -9.26 MiB

Also please bump new pkgver both in PKGBUILD and .SRCINFO, then I can merge it.

pkgver or pkgrel? and if pkgver should I change it from 142.0.1 to 142.0.1-1? or should I change pkgrel from 1 to 2?

Yeah, I meant pkgrel.

Done.

Copy link
Owner

@ventureoo ventureoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you and sorry for the long review!

@ventureoo ventureoo merged commit 6d13090 into ventureoo:main Sep 12, 2025
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

Successfully merging this pull request may close these issues.

3 participants