Firefox/Projects/Mobile Startup Shrink: Difference between revisions

Line 25: Line 25:
* [[Firefox/Projects/Startup_Time_Improvements|Startup Performance]]: Somewhat recent startup time tracking project
* [[Firefox/Projects/Startup_Time_Improvements|Startup Performance]]: Somewhat recent startup time tracking project
* [http://blog.mozilla.com/tglek/2011/05/13/firefox-telemetry/ Taras's telemetry blog post]
* [http://blog.mozilla.com/tglek/2011/05/13/firefox-telemetry/ Taras's telemetry blog post]
== Basic startup stats in your console ==
Enable the preference:
devtools.errorconsole.enabled
You will see something like
[timing] main: 488ms              # When XRE_Main is called. Everything before this is
                                    # loading libxul, static initializers, etc.
[timing] firstPaint: 1447ms        # The first paint to the screen (most important one!)
[timing] sessionRestored: 1178ms
These numbers are all measured from startup. In this example, the first paint is 1447 ms from startup, not from main.
101

edits