Gaia/MediaTeam: Difference between revisions
< Gaia
Jump to navigation
Jump to search
Rnicoletti (talk | contribs) |
Rnicoletti (talk | contribs) |
||
| Line 4: | Line 4: | ||
** Remove 'no-font-fit' attribute asynchronously to not interrupt db enumeration. | ** Remove 'no-font-fit' attribute asynchronously to not interrupt db enumeration. | ||
* Don't wait for the mozL10n 'once' callback to initialize the database. | * 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. | * 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. | ** This has the biggest startup performance affect of the three optimizations. | ||
Revision as of 21:09, 26 October 2015
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.