Skip to content

Instantly share code, notes, and snippets.

@korny
Created December 5, 2011 12:32
Show Gist options
  • Save korny/1433450 to your computer and use it in GitHub Desktop.
Save korny/1433450 to your computer and use it in GitHub Desktop.
Rails env loading benchmark on Ruby 1.8.7, Ruby EE, 1.9.2, and 1.9.3
> rvm 1.8.7,ree-1.8.7-2011.03,1.9.2,1.9.3 do "ruby -v; time rails runner 'nil'"
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-darwin10.8.0]
real 0m1.404s
user 0m1.195s
sys 0m0.207s
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin11.0.0], MBARI 0x6770, Ruby Enterprise Edition 2011.03
real 0m1.347s
user 0m1.135s
sys 0m0.207s
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.1.0]
real 0m2.574s
user 0m2.221s
sys 0m0.352s
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]
real 0m1.610s
user 0m1.461s
sys 0m0.147s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment