Ruby Enterprise Edition still faster than Ruby 1.9.2?
TweetWith Ruby 1.9.2 due to ship on July 31st, I thought I’d take Ruby 1.9.2 preview 3 for a spin.
A quick…
rvm install ruby-1.9.2-preview3
gem install rails prawn erubis
… and we’re done.
But is it any faster than REE?
What does it mean to be faster?
Perhaps all I care about is how fast my tests run
rvm use ruby-1.9.2-preview3
time rake
rvm use ree
time rake
# repeat..
My app:
- Rails 2.3.6
- rails_xss
- postgres
- ~25 models
- ~25 controllers
My test suite:
- ~1700 assertions
- ~95% code coverage
Results;
So REE is consistently 10% faster at running my test suite than Ruby 1.9.2-preview3
Does this matter?
Probably not… but maybe I can use those extra 5 seconds.
(can’t wait to see if the Phusion.nl guys can make Ruby 1.9.2 faster… )