So, I am trying to improve the test execution time and follow some of the excellent recommendations (especially Railscasts 412 ).
Zeus is working fine (except for the oddity that requires you to zeus test test to run the Minitest package.)
Here is the time from zeus:
Initial level (rake test):
$ time rake test Run options: --seed 62848
And with Zeus:
$ time zeus test test Run options: --seed 10325
Good. 5.7 s to 0.7 s
Now, with spring, I just don't see an improvement after the first run. I run Spring gem 1.1.0beta4, installing as described (adding to the Gemfile and then running bundle exec spring binstub --all ).
And here is what I have:
Initial level, 1st performance (rake test):
time bin/rake test Run options: --seed 49915
Confirm that Spring is running:
$ spring status Spring is running: 2990 spring server | gdc4 | started 43 secs ago 2991 spring app | gdc4 | started 43 secs ago | test mode
And run the tests again ...
$ time bin/rake test Run options: --seed 27416
So, a little acceleration, but still almost 4 seconds to complete. Meanwhile, by the way, the rail console MUST load a ton faster than w / Spring .... <1 second.
So my question is: why can Zeus get an acceleration of the order of magnitude according to the test results (5.7s β 0.7s), but Spring is not?
Running Rails 4.0.2, Ruby 2.0.0, btw.