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 http://on-ruby.blogspot.com

Comments

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

free games online's picture

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

Webcast
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers

Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.

Learn More

Sponsored by AMD

White Paper
Red Hat White Paper: Using an Open Source Framework to Catch the Bad Guy

Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6

Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.

Learn more about catching the bad guy in this free white paper.

Learn More

Sponsored by DLT Solutions