this post was submitted on 28 Aug 2023
33 points (90.2% liked)

Firefox

17929 readers
45 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

Is there a thing like good extensions and bad extensions on firefox. I mean, I don't want to know about privacy and security of extensions right now, but does some extensions slow down the performance of firefox more than other extensions?

Also, how to distinguish these extensions from others? Does size of the extension matter? i.e., if the size of the extension is higher does that mean it's eating more resources or will eat more resources.

Does a good extension run on all pages or only on the pages it's needed? Is there a better way to handle extensions? Maybe disable some extensions which are not in use, idk!

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 23 points 1 year ago (1 children)

Everything a computer does uses resources so every extension will have some performance impact, though you usually won't notice the difference from any one extension. As a general rule of thumb, the more an extension does the more resources it needs and so the bigger the impact. Some extensions free up additional resources (eg by blocking ads or trackers) which may also result in a net performance gain dependant on the page you're viewing.

A large extension on disk doesn't necessarily use more memory and CPU time than a small one, but it is more likely to. The only reliable way to tell which extensions are resource hogs is by benchmarking them.

Disabling extensions not in use is a good idea, though personally I'd uninstall them instead.

[–] Maddison 4 points 1 year ago
[–] [email protected] 20 points 1 year ago (3 children)

Enter about:processes in the address bar.

There's a speedometer icon next to the extensions row which will monitor resource usage for 5 seconds. There's a wealth of information.

[–] Maddison 3 points 1 year ago (1 children)
[–] [email protected] 5 points 1 year ago

The answer to your actual question is really complicated though, and very difficult to know for any given extension.

Take ublock for example, it needs to examine every element on every page, which is generally "bad", but it's going to remove resource hungry ads, which is "good". The good part won't show up in about:processes.

That said, browsers (supported by modern cpus) are so insanely good at examining elements that you just won't notice the performance hit of a few dozen ms.

Problems only really arise when you encounter bugs.

[–] [email protected] 3 points 1 year ago
[–] [email protected] 1 points 1 year ago

It doesn't tell you how much resources each extension uses though, only all extensions in aggregate

[–] [email protected] 1 points 1 year ago

checking if the extension is obfuscated is a indicator if it might be doing something shady/malicious. Sadly some build systems like webpack/react produce pretty bundled code that looks pretty obfuscated too ... so it's not a perfect rule, just an indicator to look at.