MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla
Your Search Results

    Measuring add-on startup performance

    This article is in need of a technical review.

     

    Using about:startup

    The About Startup add-on provides a much simpler way to measure startup performance. Once installed, it will gather startup data and display it in the about:startup page. The add-on is very lightweight, so it shouldn't have a noticeable negative effect on your baseline and add-on tests.

    To test with about:startup, you should set up a new Firefox profile, install this add-on, and then open and quit Firefox repeatedly. If you want to match Talos, you should do this 20 times. Then look at the results in the about:startup page. This should provide your baseline numbers. Then repeat the process with both About Startup and your add-on installed. The overhead can be calculated using the same formula.

    The about:startup page shows 3 different time measurements: main, sessionRestored and firstPaint. main happens very early in the startup process and should not be affected by add-ons being installed. The firstPaint time should be roughly similar to what Talos tests. This can vary between systems, though. sessionRestored is fired later in the process, when Firefox has loaded all tabs from the saved session.

    Document Tags and Contributors

    Contributors to this page: Sheppy, Jorge.villalobos, jmaher, kscarfone
    Last updated by: Sheppy,