Skip to content

Instantly share code, notes, and snippets.

@jfirebaugh
Created October 22, 2012 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfirebaugh/3933830 to your computer and use it in GitHub Desktop.
Save jfirebaugh/3933830 to your computer and use it in GitHub Desktop.
1.9.2 is twice as fast as 1.8.7
$ rvm use 1.8.7
Using /Users/john/.rvm/gems/ruby-1.8.7-p371
$ rails server -e production
=> Booting WEBrick
=> Rails 3.2.8 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2012-10-22 13:10:53] INFO WEBrick 1.3.1
[2012-10-22 13:10:53] INFO ruby 1.8.7 (2012-10-12) [i686-darwin12.2.0]
[2012-10-22 13:10:53] INFO WEBrick::HTTPServer#start: pid=31855 port=3000
[2012-10-22 13:11:00.123116 #31855] Started GET "/api/0.6/relation/151336/full" for 127.0.0.1 at Mon Oct 22 13:11:00 -0700 2012
[2012-10-22 13:11:00.306736 #31855] Processing by RelationController#full as */*
[2012-10-22 13:11:00.306875 #31855] Parameters: {"id"=>"151336"}
[2012-10-22 13:11:33.395739 #31855] Rendered text template (380.5ms)
[2012-10-22 13:11:33.396343 #31855] Completed 200 OK in 33089ms (Views: 398.7ms | ActiveRecord: 1071.7ms)
[2012-10-22 13:11:36.622115 #31855] Started GET "/api/0.6/relation/151336/full" for 127.0.0.1 at Mon Oct 22 13:11:36 -0700 2012
[2012-10-22 13:11:36.627226 #31855] Processing by RelationController#full as */*
[2012-10-22 13:11:36.627500 #31855] Parameters: {"id"=>"151336"}
[2012-10-22 13:12:04.415528 #31855] Rendered text template (7.4ms)
[2012-10-22 13:12:04.416072 #31855] Completed 200 OK in 27788ms (Views: 10.4ms | ActiveRecord: 1261.9ms)
^C[2012-10-22 13:12:09] INFO going to shutdown ...
[2012-10-22 13:12:09] INFO WEBrick::HTTPServer#start done.
Exiting
$ rvm use 1.9.3
Using /Users/john/.rvm/gems/ruby-1.9.3-p286
$ rails server -e production
=> Booting WEBrick
=> Rails 3.2.8 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2012-10-22 13:12:26] INFO WEBrick 1.3.1
[2012-10-22 13:12:26] INFO ruby 1.9.3 (2012-10-12) [x86_64-darwin12.2.0]
[2012-10-22 13:12:26] INFO WEBrick::HTTPServer#start: pid=32174 port=3000
[2012-10-22 13:13:54.510092 #32174] Started GET "/api/0.6/relation/151336/full" for 127.0.0.1 at 2012-10-22 13:13:54 -0700
[2012-10-22 13:13:54.617951 #32174] Processing by RelationController#full as */*
[2012-10-22 13:13:54.618097 #32174] Parameters: {"id"=>"151336"}
[2012-10-22 13:14:09.204060 #32174] Rendered text template (0.0ms)
[2012-10-22 13:14:09.204654 #32174] Completed 200 OK in 14586ms (Views: 18.3ms | ActiveRecord: 1147.2ms)
[2012-10-22 13:14:17.314494 #32174] Started GET "/api/0.6/relation/151336/full" for 127.0.0.1 at 2012-10-22 13:14:17 -0700
[2012-10-22 13:14:17.319099 #32174] Processing by RelationController#full as */*
[2012-10-22 13:14:17.319191 #32174] Parameters: {"id"=>"151336"}
[2012-10-22 13:14:32.035820 #32174] Rendered text template (0.0ms)
[2012-10-22 13:14:32.036201 #32174] Completed 200 OK in 14717ms (Views: 0.9ms | ActiveRecord: 837.1ms)
^C[2012-10-22 13:14:58] INFO going to shutdown ...
[2012-10-22 13:14:58] INFO WEBrick::HTTPServer#start done.
Exiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment