Firefox/Projects/Mobile Startup Shrink: Difference between revisions
Jump to navigation
Jump to search
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. |
Revision as of 22:06, 20 July 2011
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
A meeting is scheduled for July 21 2011 at 1PM PDT.
- Dial-in: Audio-only conference# 8604
- People with Mozilla phones or softphones please dial x4000 Conf# 8604
- US/Toll-free: +1 800 707 2533, (pin 4000) Conf# 8604
- US/California/Mountain View: +1 650 903 0800, x4000 Conf# 8604
- US/California/San Francisco: +1 415 762 5700, x4000 Conf# 8604
- US/Oregon/Portland: +1 971 544 8000, x4000 Conf# 8604
- CA/British Columbia/Vancouver: +1 778 785 1540, x4000 Conf# 8604
- CA/Ontario/Toronto: +1 416 848 3114, x4000 Conf# 8604
- UK/London: +44 (0)207 855 3000, x4000 Conf# 8604
- FR/Paris: +33 1 84 88 37 37, x4000 Conf# 8604
- Gmail Chat (requires Flash and the Google Talk plugin): paste +1 650 903 0800 into the Gmail Chat box that doesn't look like it accepts phone numbers
- SkypeOut is free if you use the 800 number
- IRC: #startup
- Etherpad: http://etherpad.mozilla.com:9000/startupshrink
The agenda:
- Decide on a way to track progress on Bugzilla.
- What are our best profiling tools on Android?
- Telemetry (even using it locally) can be useful to measure progress
- about:telemetry viewing current broken
- tMain, tFirstPaint, tSessionRestored
- devtools.errorconsole.enabled
- oprofile?
- Telemetry (even using it locally) can be useful to measure progress
- What are the high priority bugs we need to fix?
- Brainstorm in http://etherpad.mozilla.com:9000/startupshrink
- Assign bugs and get things done!
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.