Ruby Performance
February 26th, 2007 by Pat Eyler
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.
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
http://on-ruby.blogspot.com
Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer
Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.
Subscribe now!
The Latest
Newsletter
Tech Tip Videos
- Nov-19-09
- Nov-04-09
Recently Popular
From the Magazine
December 2009, #188
If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.
Delicious
Digg
StumbleUpon
Reddit
Facebook








In fact...
On October 1st, 2007 Asiatique (not verified) says:
Most of them have either not done any optimization work, or are just starting down that road.
I'd like to see a faster
On September 18th, 2007 new thumbs daily (not verified) says:
I'd like to see a faster ruby too, a very good article.
Ruby is getting better and better
On July 9th, 2007 SoftArea51 (not verified) says:
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
On June 9th, 2007 Tobias Schwarz (not verified) says:
I think "Making Ruby Faster" will be THE challenge. I saw many sites switching from php to ruby (e.g. plazes.com). Development seems to be much faster now, but many applications are slower and scaling with faster hardware isn't always the best idea...
RE
On September 6th, 2007 free games online (not verified) says:
I look forward to a better & faster Ruby...
Post new comment