Skip to content

Instantly share code, notes, and snippets.

@stevenharman
Created April 9, 2013 23:08
Show Gist options
  • Save stevenharman/5350188 to your computer and use it in GitHub Desktop.
Save stevenharman/5350188 to your computer and use it in GitHub Desktop.
I thought Ruby 2.0 was supposed to be faster than 1.9?

First with Ruby 1.9.3-p392

brewhouse: ~/code/brewdega/cellar [1.9.3-p392|master]
☺ $ time be rspec
................................................................................................................................................................................................................................................................

Finished in 8.7 seconds
256 examples, 0 failures

Randomized with seed 18852

bundle exec rspec  14.85s user 1.23s system 95% cpu 16.784 total

And now with Ruby 2.0.0-p0

brewhouse: ~/code/brewdega/cellar [2.0.0-p0|master!]
☺ $ time be rspec
................................................................................................................................................................................................................................................................

Finished in 15.59 seconds
256 examples, 0 failures

Randomized with seed 9536

bundle exec rspec  23.96s user 1.33s system 96% cpu 26.086 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment