Skip to content

Instantly share code, notes, and snippets.

@jmdeldin
Created March 18, 2013 21:19
Show Gist options
  • Save jmdeldin/5190909 to your computer and use it in GitHub Desktop.
Save jmdeldin/5190909 to your computer and use it in GitHub Desktop.
Ruby 2.0 speedups on our test suite (mix of capybara integration, ActiveRecord model, controller, and unit tests). 10.1 s wall time is a nice improvement!
# ruby 1.9.3-p327
% time .bin/rake spec
Finished in 32.2 seconds
294 examples, 0 failures
Randomized with seed 28895
real 48.81
user 39.52
sys 2.78
# ruby 2.0.0-p0
% time .bin/rake spec
Finished in 26.71 seconds
294 examples, 0 failures
Randomized with seed 64357
real 38.71
user 31.56
sys 2.60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment