Firefox/Projects/Startup Time Improvements/StartupPatchUsage: Difference between revisions
< Firefox | Projects | Startup Time Improvements
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* Download 2 patches from {{bug|480735}} | * Download 2 patches from {{bug|480735}} | ||
** THESE MAY CHANGE, you may want to check the attachments on the bug before using the following patches, and the eventual goal after review is having these patches checked into | ** THESE MAY CHANGE, you may want to check the attachments on the bug before using the following patches, and the eventual goal after review is having these patches checked into trunk. | ||
*** C++ Function Timer [https://bugzilla.mozilla.org/attachment.cgi?id=389576] | *** C++ Function Timer [https://bugzilla.mozilla.org/attachment.cgi?id=389576] | ||
*** Instrumentation Patch [https://bugzilla.mozilla.org/attachment.cgi?id=389062] | *** Instrumentation Patch [https://bugzilla.mozilla.org/attachment.cgi?id=389062] |
Revision as of 22:30, 21 July 2009
Startup Patch
Quick Start
- Download 2 patches from bug 480735
- Before building you should update your mozconfig with the following option:
- ac_add_options --enable-functiontimer
- BUILD - please clobber your obj dir -
- Add the following environment variables:
- export NSPR_LOG_MODULES=functimer:5
- export NSPR_LOG_FILE=/path/to/startup_log
- Start Firefox
- The logfile in /path/to/startup_log should have a bunch of timing information in it.