Firefox/Projects/Mobile Startup Shrink: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 3: Line 3:
=Meetings=
=Meetings=


A meeting is scheduled for July 21 2011 at 1PM PDT.
The [[Firefox/Projects/Mobile_Startup_Shrink/Meeting_July_21_2011|first meeting]] was held on July 21 2011 at 1PM PDT.


{{conf|8604}}
=Current Work=
* IRC: [irc://irc.mozilla.org/startup #startup]
[https://bugzilla.mozilla.org/buglist.cgi?quicksearch=whiteboard%3Amobilestartupshrink&list_id=831563 Startup shrink bugs]
* 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?
* 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 =
= Resources =

Revision as of 22:14, 21 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

The first meeting was held on July 21 2011 at 1PM PDT.

Current Work

Startup shrink bugs

Resources

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.