Last active
September 27, 2015 23:08
-
-
Save mackuba/1346371 to your computer and use it in GitHub Desktop.
Benchmark - running an empty spec file on Ruby 1.9.2 vs 1.9.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### without spork | |
$ rvm 1.9.2 | |
$ ruby -v | |
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0] | |
$ time bundle exec rspec spec/controllers/notifications_controller_spec.rb | |
No DRb server is running. Running in local process instead ... | |
No examples found. | |
Finished in 0.10633 seconds | |
0 examples, 0 failures | |
real 0m37.946s | |
user 0m35.362s | |
sys 0m2.302s | |
$ rvm 1.9.3 | |
$ ruby -v | |
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0] | |
$ time bundle exec rspec spec/controllers/notifications_controller_spec.rb | |
No DRb server is running. Running in local process instead ... | |
No examples found. | |
Finished in 0.01557 seconds | |
0 examples, 0 failures | |
real 0m15.837s | |
user 0m14.367s | |
sys 0m1.346s | |
### with spork | |
$ rvm 1.9.2 | |
$ time bundle exec rspec spec/controllers/notifications_controller_spec.rb | |
No examples found. | |
Finished in 0.01971 seconds | |
0 examples, 0 failures | |
real 0m20.816s | |
user 0m3.876s | |
sys 0m0.357s | |
$ rvm 1.9.3 | |
$ time bundle exec rspec spec/controllers/notifications_controller_spec.rb | |
No examples found. | |
Finished in 0.00979 seconds | |
0 examples, 0 failures | |
real 0m8.507s | |
user 0m3.063s | |
sys 0m0.135s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment