Mobile/StartupOptimization: Difference between revisions

Line 28: Line 28:
* Identify & disable unnecessary work during startup (for mobile)
* Identify & disable unnecessary work during startup (for mobile)
** Bug 421561 [https://bugzilla.mozilla.org/show_bug.cgi?id=421561]
** Bug 421561 [https://bugzilla.mozilla.org/show_bug.cgi?id=421561]
* removing comments from all evaluated source files (js, css, xul).  Less to read in.
** Bug needed.  Possible preexisting bug.
* look at what system libraries are being opened on start.  strace shows we looking around for system version of nspr, nss, ect?  Maybe we can help the dso loader.
** Bug needed.
* look at what locales are being loaded in.  strace shows we are loading in locales that are not needed at startup.
** Bug needed
* merge all XPT files.
** bug needed
* Can JS files be precomputed/precompiled?
** bug needed.
* Reduce chrome files. For a XUL runner app, we do not pageloader for example.  There are others.  This should be included in make package.
** bug needed.
* Reduce js files. there are probaby some js completes that we do not need. (default command line handling, for example).
** bug needed
* Is sqllite doing a bunch of unneeded F_SETLK64s  (fcntl64)?  Maybe we do not have to be so overly protective of other writers?
** bug needed
* Does XR need the hiddenWindow? starting this takes times.
** bug needed
=== Bugs ===
=== Bugs ===
Confirmed users
1,031

edits