Gaia/MediaTeam

From MozillaWiki
Jump to navigation Jump to search

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.
  • 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.