Ruby Performance

February 26th, 2007 by Pat Eyler

Your rating: None

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
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.

Comment viewing options

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

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.

new thumbs daily's picture

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.

SoftArea51's picture

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

Tobias Schwarz's picture

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...

free games online's picture

RE

On September 6th, 2007 free games online (not verified) says:

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

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Tech Tip Videos

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.


Read this issue