Skip to content

Instantly share code, notes, and snippets.

@textgoeshere
Created June 21, 2011 14:53
Show Gist options
  • Save textgoeshere/1038014 to your computer and use it in GitHub Desktop.
Save textgoeshere/1038014 to your computer and use it in GitHub Desktop.
Ruby 1.9.2@rails3 is 8x slower than 1.8.7@rails2
Using /home/dave/.rvm/gems/ruby-1.8.7-p334 with gemset rails2-3-10
$ time spec spec/views/people/_header.haml_spec.rb
No server is running
Running specs locally:
......
Finished in 1.522537 seconds
6 examples, 0 failures
real 0m8.088s
user 0m5.940s
sys 0m1.980s
Using /home/dave/.rvm/gems/ruby-1.8.7-p334 with gemset rails3-0-9
$ time rspec spec/views/people/_header.haml_spec.rb
......
Finished in 2.93 seconds
6 examples, 0 failures
real 0m16.270s
user 0m11.700s
sys 0m3.810s
Using /home/dave/.rvm/gems/ruby-1.9.2-p180 with gemset rails3-0-9
$ time rspec spec/views/people/_header.haml_spec.rb
......
Finished in 7.25 seconds
6 examples, 0 failures
real 1m3.135s
user 1m1.000s
sys 0m1.760s
,' \ / \,' // __/,'_/ ///7/ //_ _// __// o.) / o.),' \
/ o |/ \,' // _/ / /_n| V V / / / / _/ / o \ / o \/ o |
|_,'/_/ /_//_/ |__,'|_n_,' /_/ /_/ /___,'/___,'|_,\\
@pencilcheck
Copy link

I was really annoyed about the turtle speed in 1.9.x, so I switched back to good ol' 1.8.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment