Software - Support > Tutorials

Hacking/improving Firefox performance


Hi everyone! Hope you're all having a nice life!  :54:

For a few months now, I've been using Firefox in a daily basis, in fact, I'm writing this from it. Thing is, I noticed it kind of started to become slower, and then I'm back to chromium, which is my primary browser and IMHO it's a bit faster, but I do like some FF features, so I started searching for some "hacks", tips, tricks or whatever to try and see if I could improve its performance, and found this though it's focused on Fedora's FF package, it does provide some good advice on tweaking Mozilla's browser to get the best out of it. So I read  most of the recent posts, tried some recommendations and am currently running FF with these settings:

--- Code: ---# "plain" OpenGL (boolean) true
gfx.xrender.enabled (boolean) false #true conflicts with webrender
layers.accelerate-all (boolean) true
layers.acceleration.force-enabled (boolean) true

# WebRender
gfx.webrender.all (boolean) true
gfx.webrender.compositor (boolean) true
gfx.webrender.enabled (boolean) true

media.ffmpeg.dmabuf-textures.enabled (boolean) true
media.ffmpeg.vaapi.enabled (boolean) true
media.ffvpx.enabled (boolean) false
media.ffmpeg.low-latency.enabled false
media.navigator.mediadatadecoder_vpx_enabled false
media.rdd-ffvpx.enabled false
media.rdd-vpx.enabled false
widget.dmabuf-textures.enabled (boolean) true

--- End code ---

To apply those, go to about:config in FF, click on I accept the risk message/warning and start typing in the search box each of the above, set the value to either True or False as appropriate, restart Firefox and that's it. After applying those, I've seen a significant improvement in FF's performance, for instance, when I clicked the X button, it took a while to close, now it doesn't and closes almost instantaneously  :003:  This is also another good source of info

Well, I hope this helps someone else if having issues with FF's performance like I was  :55:


[0] Message Index

Go to full version