Firefox OS/media/performance
From MozillaWiki
< Firefox OS | media
Video App 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.