rstrong's blog
in search of ponies
App Update status
October 23rd, 2009 by rstrong
This last week I’ve been focusing on Fennec / Firefox WinCE TS for app update. According to Taras’ logs for Maemo Fennec this lessens the time spent in nsUpdateService.js during startup by around 50ms and there should be a similar win on Firefox WinCE.
Progress:
- Landed on the mozilla-1.9.2 branch – Bug 512651 [Toolkit] – lessen the write access checks during startup and remove final-ui-startup observer. According to Taras’ logs for Maemo Fennec this lessens the time spent in nsUpdateService.js during startup by around 50ms and there should be a similar win on Firefox WinCE. It appears that there was around a .5 % win on trunk Windows desktop TS as well though this may be a combo of this and Bug 521262 which landed at the same time on trunk.
- Landed on the mozilla-1.9.2 branch – Bug 521371 [Toolkit] – Extraneous ’2′ written to the update log file.
- Landed on the mozilla-1.9.2 branch – Bug 521262 [Toolkit] – XREDirProvider provides app chrome dir twice, making us parse manifests twice. This caused non-xulrunner apps to parse the manifests in the app dir twice on startup so there might be a win on Firefox WinCE.
- Landed on trunk – Bug 521452 [Toolkit] – nsUpdateService and nsBlocklistService both have getFile(key, pathArray). This gets us closer to fixing Bug 311965 [Toolkit] – Refactor nsUpdateService.js to load less code at startup.
- Landed on trunk – Bug 522583 [Toolkit] – nsUpdateService.js.in cleanup (remove previous update migration code, defineLazyServiceGetter for nsIObserverService, and other cleanup). This gets us closer to fixing Bug 311965 [Toolkit] – Refactor nsUpdateService.js to load less code at startup.
- Patch in progress for Bug 311965 [Toolkit] – Refactor nsUpdateService.js to load less code at startup. This should translate into TS wins especially for Fennec and Firefox WinCE.
Future targets:
- Finish up Bug 311965 [Toolkit] – Refactor nsUpdateService.js to load less code at startup.
- I’m going to try to get Bug 407875 [Toolkit] – Unprivileged users are not notified of security updates fixed for Firefox 3.6.
[...] Rob Strong has been making a bunch of changes in the update system to improve startup time, and posted a list of the changes. [...]