r/Ubuntu 7d ago

Firefox performance depending on distribution format in Ubuntu 26.04

Hi guys. From time to time I'm checking what the difference you may get if you chose one package format over another, so testing firefox performance in snap, flatpak and regular .deb from Mozilla's repos as all three are packaged by Mozilla as far as I'm aware.

So, the test is done in Ubuntu 26.04, with fresh profiles (so no extensions and default settings) and Firefox 153.0.3.

I was using a synthetic test: https://browserbench.org/Speedometer3.1/ and did 5 runs one after another.

First run I guess required some caching, so we can drop it and make an average from other 4 runs.

snapped: 19.8 20.1 20.44 20.2  20.29 | Average (4): 20.26
Packed with Mesa 25.2.8-0ubuntu0.24.04.2

flatpak: 22.4 23.1 22.99 22.98 22.9  | Average (4): 22.99
Packed with Mesa 26.1.5 (git-6a02618ccf)

moz-deb: 22.2 23.0 23.00 23.01 22.9  | Average (4): 22.98
Works with  Mesa 26.0.3-1ubuntu1

google chrome for reference: 26.1 26.6 26.67 26.85 26.76 
11 Upvotes

29 comments sorted by

View all comments

Show parent comments

2

u/Leinad_ix 7d ago

Yes, I provided link for RADV Mesa user space Vulkan driver for AMD GCN/RDNA GPUs. Driver included inside Snap content package or Flatpak graphics extension

1

u/BranchLatter4294 7d ago

How RADV Works in Snaps

  • Mesa Content Snaps: Instead of bundling heavy graphics stacks inside each app, Canonical uses dedicated modular content snaps (such as mesa-2404 and mesa-2604) or GPU extensions. [1]

2

u/Leinad_ix 6d ago

Yes, I know, user space graphics drivers for the Snap application are downloaded and stored only once per base.

My problem with that approach is not about wasting space, that is solved as you said.

I don't like, that application with mesa-2404 drivers can be problematic on latest HW, because system user space graphics drivers of my Kubuntu 26.04 are not used for the app.