FirefoxStartup

Differences between revisions 3 and 4
Revision 3 as of 2011-05-11 08:20:13
Size: 2416
Editor: business-89-133-214-82
Comment:
Revision 4 as of 2011-05-19 19:44:40
Size: 1770
Editor: 188-24-95-24
Comment: draft
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 * '''Contributors''': Oliver Grawert, Micah Gersten,Jani Monoses
 * '''Packages affected''':
 * '''Contributors''': Micah Gersten,Jani Monoses
 * '''Packages affected''': firefox
Line 10: Line 10:
Investigate why firefox takes a long time to start up on ARM devices. Optimise slow routines to address this. Firefox takes a relatively long time to start up, and this is more evident on ARM devices which are generally slower than x86/amd64 systems.
Line 14: Line 14:
Firefox has been optimised to launch significantly faster on ARM devices in Ubuntu 11.10. Firefox launches significantly faster on ARM devices in Ubuntu 11.10.
Line 18: Line 18:
Firefox startup on ARM is so slow that it can be faster to install a different browser and start that, even if one starts opening the terminal to do so *after* beginning the firefox startup process. This does not reflect well on firefox, and needs to be sorted. Firefox startup is slow because it is a large C++ app that does a lot of IO on startup. The slow SD/eMMC/USB storage used in ARM devices make this
even more noticable.
Line 21: Line 22:

First startup of Firefox after each reboot on an OEM netbook preinstalled with Ubuntu takes 12 seconds.
Line 30: Line 33:
This section should describe a plan of action (the "how") to implement the changes discussed. Could include subsections like: Upstream is well aware of the fact that Firefox could start up faster and have people working on the problem. They are addressing some of the issues for
upcoming releases. Oneiric will ship with FF 6 or FF 7 so chances are some improvements will land in Ubuntu even if we do not do anything.

We will make a testcase for Linaro LAVA to chart startup time during Oneiric.

Upstream resources:

IRC: #startup channel on irc.mozilla.org

Wiki: https://wiki.mozilla.org/Firefox/Projects/Startup_Time_Improvements
Line 34: Line 46:
Should cover changes required to the UI, or specific UI that is required to implement this
Line 38: Line 50:
Code changes should include an overview of what needs to change, and in some cases even the specific details. Possible changes to our Firefox packaging if preloading or other shell tricks are to be used to speed up cold start.
Line 42: Line 54:
Include:
 * data migration, if any
 * redirects from old URLs to new ones, if any
 * how users will be pointed to the new way of doing things, if necessary.
Line 49: Line 57:
It's important that we are able to test new features, and demonstrate them to users. Use this section to describe a short plan that anybody can follow that demonstrates the feature is working. This can then be used during testing, and to show off after release. Please add an entry to http://testcases.qa.ubuntu.com/Coverage/NewFeatures for tracking test coverage.

This need not be added or completed until the specification is nearing beta.
Line 55: Line 60:
This should highlight any issues that should be addressed in further specifications, and not problems with the specification itself; since any specification with problems cannot be approved.
Line 59: Line 63:
Use this section to take notes during the BoF; if you keep it in the approved spec, use it for summarising what was discussed and note any options that were rejected.

Summary

Firefox takes a relatively long time to start up, and this is more evident on ARM devices which are generally slower than x86/amd64 systems.

Release Note

Firefox launches significantly faster on ARM devices in Ubuntu 11.10.

Rationale

Firefox startup is slow because it is a large C++ app that does a lot of IO on startup. The slow SD/eMMC/USB storage used in ARM devices make this even more noticable.

User stories

First startup of Firefox after each reboot on an OEM netbook preinstalled with Ubuntu takes 12 seconds.

Assumptions

Design

You can have subsections that better describe specific parts of the issue.

Implementation

Upstream is well aware of the fact that Firefox could start up faster and have people working on the problem. They are addressing some of the issues for upcoming releases. Oneiric will ship with FF 6 or FF 7 so chances are some improvements will land in Ubuntu even if we do not do anything.

We will make a testcase for Linaro LAVA to chart startup time during Oneiric.

Upstream resources:

IRC: #startup channel on irc.mozilla.org

Wiki: https://wiki.mozilla.org/Firefox/Projects/Startup_Time_Improvements

UI Changes

Code Changes

Possible changes to our Firefox packaging if preloading or other shell tricks are to be used to speed up cold start.

Migration

Test/Demo Plan

Unresolved issues

BoF agenda and discussion


CategorySpec

ARM/FirefoxStartup (last edited 2011-05-19 19:44:40 by 188-24-95-24)