Firefox/Projects/Startup Time Improvements: Difference between revisions

Line 179: Line 179:
The following is specific to Mac OSX and is required to evict Firefox code pages from memory and clear the Unified Buffer Cache (UBC). <code>purge</code> does NOT do this.
The following is specific to Mac OSX and is required to evict Firefox code pages from memory and clear the Unified Buffer Cache (UBC). <code>purge</code> does NOT do this.


<pre><code>
<pre>
#!/bin/sh
#!/bin/sh


Line 189: Line 189:


$FF/Minefield$*.app/Contents/MacOS/firefox-bin -no-remote -foreground file://$FF/startup.html#`python -c 'import time; print int(time.time() * 1000);'`
$FF/Minefield$*.app/Contents/MacOS/firefox-bin -no-remote -foreground file://$FF/startup.html#`python -c 'import time; print int(time.time() * 1000);'`
</code></pre>
</pre>


This assumes that your removable media is at /dev/disk1s2.  
This assumes that your removable media is at /dev/disk1s2.  
109

edits