Search code examples
performancegoogle-chrome-extensionfirefox-addonbrowser-extension

How do you monitor performance of browser extensions?


Assume that you're developing a browser extension. Is there any way to monitor the performance of that browser extension that has been installed on all those browsers?

Ie, can you somehow monitor whether the performance degrades on a new release of the extension, etc.


Solution

  • There are ways to monitor the performance of your browser extension.

    For Chrome:

    You can simply view the built-in Chrome Devtools by clicking F12/Ctrl + Shift + I or right click and choose Inspect.

    From there you can:

    For FireFox:

    Firefox has a responsive design view that encourages you to stop thinking in terms of specific devices and instead explore how your design changes at common screen sizes or your own size by dragging the edges.

    For Edge:

    To emulate Windows Phones, use Microsoft Edge's built-in emulation.

    Since Edge does not ship with legacy compatibility, use IE 11's Emulation to simulate how your page would look in older versions of Internet Explorer.

    Note: Browser emulators are great for testing a site's responsiveness, but they don’t emulate differences in API, CSS support, and certain behaviors that you'd see on a mobile browser.

    For more infos: