Skip to content

Instantly share code, notes, and snippets.

@r38y
Created September 29, 2011 18:07
Show Gist options
  • Save r38y/1251461 to your computer and use it in GitHub Desktop.
Save r38y/1251461 to your computer and use it in GitHub Desktop.
Some boot/test times for some of my Rails apps

loseitorloseit.com (Rails 3.1.1)

➜  loseitorloseit.com git:(master) ✗ rvm use 1.9.2
Using /Users/r38y/.rvm/gems/ruby-1.9.2-p290
➜  loseitorloseit.com git:(master) ✗ time ./script/rails runner "puts 1234"
./script/rails runner "puts 1234"  18.56s user 1.86s system 98% cpu 20.738 total
➜  loseitorloseit.com git:(master) ✗ time be rspec spec
Finished in 179.54 seconds
1711 examples, 1 failure
bundle exec rspec spec  162.11s user 14.06s system 79% cpu 3:41.35 total

➜  loseitorloseit.com git:(master) ✗ rvm use 1.9.3
Using /Users/r38y/.rvm/gems/ruby-1.9.3-p0
➜  loseitorloseit.com git:(master) ✗ time ./script/rails runner "puts 1234"
./script/rails runner "puts 1234"  7.66s user 1.12s system 89% cpu 9.813 total
➜  loseitorloseit.com git:(master) ✗ time be rspec spec
Finished in 145.28 seconds
1711 examples, 1 failure
bundle exec rspec spec  123.02s user 11.97s system 82% cpu 2:43.65 total
@tmilewski
Copy link

Interesting and awesome.

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