Skip to content

Instantly share code, notes, and snippets.

@botandrose
Created December 27, 2010 22:06
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 botandrose/756616 to your computer and use it in GitHub Desktop.
Save botandrose/756616 to your computer and use it in GitHub Desktop.
rails w/1.9 slower than w/1.8
# with rails 3.0.3
rails new bench
cd bench/
rvm use --create ree-1.8.7-2010.02@bench
gem install bundler && bundle
time rails runner
# real 0m1.007s
# user 0m0.796s
# sys 0m0.196s
rvm use --create ruby-1.9.2-p0@bench
gem install bundler && bundle
time rails runner
# real 0m2.295s
# user 0m1.808s
# sys 0m0.348s
rvm use --create ruby-1.9.2-p136@bench
gem install bundler && bundle
time rails runner
# real 0m2.661s
# user 0m1.760s
# sys 0m0.332s
rvm use --create ruby-head@bench # head on 2011.01.16
gem install bundler && bundle
time rails runner
# real 0m1.706s
# user 0m1.564s
# sys 0m0.108s
@rdp
Copy link

rdp commented Apr 25, 2011

I assume this is on linux?

@botandrose
Copy link
Author

@rdp, yes it is. Ubuntu 10.10.

I'd really like to see some improvement on this! It's blocking my upgrade to 1.9.

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