Performance best practices in extensions?

Help

For the old extension system there was an article:

https://developer.mozilla.org/en-US/docs/Archive/Add-ons/Performance_best_practices_in_extensions

Has anyone analyzed performance best practices for WebExtensions?

For example I am wondering how to make the webextension popup show up faster. I have already tried some things. With the async API it's better to send requests concurrently, instead of daisy chaining them (delays add up).

Then I wonder if I should combine several smaller JS files into one to reduce load requests. It's local so it should not be necessary but for HDD systems it still means additional access times (first time you load it).

Even so sometimes it just takes a while for the popup to show. No idea what is the cause of delaying it.

Posted Mar 31, 2018, 9:20 PM UTC

171
caspy7•

You might like to try the #webextensions channels on irc.mozilla.org

3