Firefox/Projects/Startup Time Improvements/joelr notes: Difference between revisions

Line 5: Line 5:
= Current status =
= Current status =


=== August 21, 2009 ===
=== August 25, 2009 ===


[http://wagerlabs.com/post/168237170/faster-mac-firefox Blogged].
Created a [http://github.com/wagerlabs/firefox-startup/blob/c0b7691c60eb0455d7475aa17777edcf3ed3d605/main-entry-probe.patch static probe that fires first thing in XRE_main] and updated my [http://github.com/wagerlabs/firefox-startup/tree/master DTrace scripts] to use it.  


My DTrace scripts live [http://github.com/wagerlabs/firefox-startup/tree/master here]. Use like this
pid$target::function:entry probes are very slow since the have to search, potentially, thousands of functions. A USDT (static) probe is just a few NOP instructions in the code that get fixed up by DTrace as needed.  


<pre>
= Previous statuses =
sudo ./cold.sh static-init.d
</pre>


=== August 24, 2009 ===
=== August 24, 2009 ===
Line 46: Line 44:


Digging deeper...
Digging deeper...
=== August 21, 2009 ===
[http://wagerlabs.com/post/168237170/faster-mac-firefox Blogged].
My DTrace scripts live [http://github.com/wagerlabs/firefox-startup/tree/master here]. Use like this
<pre>
sudo ./cold.sh static-init.d
</pre>
= DTrace tips and tricks =


=== DTrace: timestamp vs vtimestamp ===
=== DTrace: timestamp vs vtimestamp ===
109

edits