• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
dyld shared cache: firefox vs safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: dyld shared cache: firefox vs safari
      • From: Greg Parker <email@hidden>
    • Re: dyld shared cache: firefox vs safari
      • From: Joel Reymont <email@hidden>
  • Prev by Date: Re: dtrace: catching thread yield
  • Next by Date: safari dynamic linking
  • Previous by thread: Re: dtrace: catching thread yield
  • Next by thread: Re: dyld shared cache: firefox vs safari
  • Index(es):
    • Date
    • Thread