Ruby Performance

Antonio Cangiano posted a Ruby Implementation Shootout on his blog last week. While it's an interesting piece (and will likely be more interesting over time), it's still very premature.

The various implementations are still don't pass all the tests involved in the shootout (particularily rubinius and Cardinal). In fact, most of them have either not done any optimization work, or are just starting down that road.

Implementation Completeness

Still, YARV shows up quite well in the test as it stands, and JRuby and Ruby.NET both show a lot of promise. It will be interesting to see how the numbers look in 6 months or so.

This doesn't mean that no one is looking at Ruby 1.8.5 speed though. Tomasz Wegrzanowski unveiled a post called Making Ruby Faster, in which he shows some opportunities for speeding up the stock interpreter. Hopefully he (and others on the ruby-core mailing list) will be able to get some improvements into 1.8.6.


-- -pate


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

In fact...

Asiatique's picture

Most of them have either not done any optimization work, or are just starting down that road.

I'd like to see a faster

new thumbs daily's picture

I'd like to see a faster ruby too, a very good article.

Ruby is getting better and better

SoftArea51's picture

Ruby's performance was always a problem comparing to other more popular scripting languages. Thanks to its features, various platforms available and the increasing community Ruby will manage to overtake PHP or Perl very soon. As graph above shows, several implementations came close in benchmarks and this for sure will lead to a Ruby standardization very soon.

Free Development Tools

Ruby Performance

Tobias Schwarz's picture

I think "Making Ruby Faster" will be THE challenge. I saw many sites switching from php to ruby (e.g. Development seems to be much faster now, but many applications are slower and scaling with faster hardware isn't always the best idea...


free games online's picture

I look forward to a better & faster Ruby...