Docunext


Ruby 1.9.3 and Rails 3.1.1

October 15th, 2011

Tired of waiting for Rails 3 to start up again and again, I decided to try out Ruby 1.9.3-rc1. To my surprised, Ruby 1.9.3-rc1 works reliably well!

The great part about this is how much faster Rails 3 starts up when using Ruby 1.9.3. Its like night and day.

I am keeping 1.9.2 installed, and thankfully its not too much of a burden since I'm using rbenv (similar to rvm).

Let's go to the races!

The Simplest Race (A Rake Task)

namespace :speed do
  task :check => :environment do
    puts "Testing..."
  end
end

Ruby 1.9.2-p290

time rake speed:check
real    0m44.346s
user    0m42.215s
sys     0m1.416s

Ruby 1.9.3-rc1

time rake speed:check
real    0m12.646s
user    0m11.749s
sys     0m0.784s

Awesome!!

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022