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

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState