dyld shared cache: firefox vs safari
dyld shared cache: firefox vs safari
- Subject: dyld shared cache: firefox vs safari
- From: Joel Reymont <email@hidden>
- Date: Wed, 26 Aug 2009 22:06:52 +0100
I wrote io.d, a DTrace script and a derivative of iosnoop, to roll up
disk io time during the first 20s of the Firefox startup [1].
I already have a 'cold startup' shell script that I use to trace
Firefox, e.g.
---
#!/bin/bash
cmd="./Minefield.app/Contents/MacOS/firefox-bin -no-remote -foreground
-P 2"
sync && purge && dtrace -x dynvarsize=64m -x evaltime=exec -c "$cmd" -
wZs $1
---
I cold-started and traced both Firefox [2] and Safari [3]. I now have
a hunch that the slow Firefox startup may have a lot to do with the
fact that most of the Safari bits are pulled from the dyld shared cache.
How can I make Firefox use the dyld shared cache like Safari does?
Thanks, Joel
[1] http://github.com/wagerlabs/firefox-startup/tree/master
[2] http://gist.github.com/175842
[3] http://gist.github.com/175843
---
fastest mac firefox!
http://wagerlabs.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden