Gaia/MediaTeam: Difference between revisions

Page moved to https://wiki.mozilla.org/Firefox_OS/media/performance
(Page moved to https://wiki.mozilla.org/Firefox_OS/media/performance)
 
Line 1: Line 1:
==Performance Improvements==
 
The following changes are being made to the video app to improve startup performance for the 2.5 release:
* Delay gaia-header 'font-fit' logic until after 'visuallyLoaded'.
** Remove 'no-font-fit' attribute asynchronously to not interrupt db enumeration.
* Don't wait for the mozL10n 'once' callback to initialize the database.
** The reason for guarding db initialization with 'mozL10n.once' was to ensure overlays displayed during the db scanning process were in the appropriate language; this guarding is no longer necessary.
* Enumerate the database when it is enumerable as opposed to waiting for it to be fully ready.
** This has the biggest startup performance affect of the three optimizations.
12

edits