Firefox/Projects/Mobile Startup Shrink
Jump to navigation
Jump to search
For mobile Firefox, a very important user flow is when a user wants to quickly check a webpage from another app (e.g. email, twitter). Since Android very frequently swaps Firefox out when it is hidden, it is imperative that we start quickly. Our single-minded goal is instantaneous startup!
Meetings
The first meeting was held on July 21 2011 at 1PM PDT.
Current Work
Resources
- Startup Performance: Somewhat recent startup time tracking project
- 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.