Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Startup time appears to be killing you, so you and I are probably in the same boat. Between Jodell and Dark Castle a lot of this is covered already, but here's my nearly-whole list of things that helped, in descending order of efficacy.</p> <ol> <li>Get a patched 1.9.3 with the 2.0 filesystem improvements backported. The first gets 2x better numbers but I'm using the second because I felt the first was unstable <ul> <li><a href="https://groups.google.com/forum/?fromgroups=#!topic/thecodeshop/WVA4N2lJoM4" rel="nofollow">https://groups.google.com/forum/?fromgroups=#!topic/thecodeshop/WVA4N2lJoM4</a></li> <li><a href="https://raw.github.com/gist/3242245/5cdb932c0a544cfbb51fdee5759942d4d2c263f5/1-complete.diff" rel="nofollow">https://raw.github.com/gist/3242245/5cdb932c0a544cfbb51fdee5759942d4d2c263f5/1-complete.diff</a></li> </ul></li> <li>Set your GC options <ul> <li><a href="http://snaprails.tumblr.com/post/241746095/rubys-gc-configuration" rel="nofollow">http://snaprails.tumblr.com/post/241746095/rubys-gc-configuration</a> (I'm using the last one)</li> </ul></li> <li>Turn off collecting coverage data (My IDE kept volunteering this)</li> <li>Run Spork, and <code>set SPEC_OPTS=--drb</code> </li> <li>Turn off virus scanner (don't actually do this, it's only worth 10% for me anyway)</li> <li>Double-check your Gems, delaying the loading of gems with require: false</li> </ol> <p>6 didn't actually buy me very much. The biggest thing we had wrong was loading Thin unconditionally (which pulls in Eventmachine, which 21 megabytes installed), but the next 3 on the stack were actually being used by RSpec. I have not looked at network traffic, but Jodell is probably on to something there.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload