Firefox/Projects/Startup Time Improvements/StartupPatchUsage

Startup Patch

Quick Start

  • 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 the trunk source.
      • C++ Function Timer [1]
      • Instrumentation Patch [2]
  • 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.