Firefox/Projects/Startup Time Improvements: Difference between revisions

Jump to navigation Jump to search
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.


<code>
<pre><code>
#!/bin/sh
 
FF=/tmp/firefox
FF=/tmp/firefox


Line 187: 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>
</code></pre>


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

edits

Navigation menu