Skip to main content


developerWorks  >  Open source  >

Profiling and optimizing Ruby code

developerWorks

Level: Intermediate

Pat Eyler (pat.eyler@gmail.com), Co-founder, Seattle Ruby Brigade

09 Aug 2005

Register now or sign in using your IBM ID and password.

If you're writing production code in Ruby and haven't been exposed to optimization strategies, discover the methodology for profiling and optimizing code written in Ruby. Learn how to profile and optimize Ruby code with RubyInline and ZenOptimize, two tools that make this process easier.

Prerequisites

If you don't already know Ruby, the Resources area contains links to tutorials, books, and other literature to get you started. Ruby is easy to read, though, and you can probably bootstrap yourself while you're working through this tutorial.


System requirements

This tutorial is written for the beginning Ruby programmer. To complete it successfully, you should have Ruby installed on your system, and you need some experience with the language.

If you're on a Linux or Mac OS X machine, you're almost certainly covered for the first prerequisite. If your distribution doesn't ship with Ruby, it's easy to build from source, but you should let the distributor know that you want it in the next release. If you're working on a Microsoft® Windows® system, it has a nice one-click installer.



Duration

Under one hour


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed