Profiling Ruby Code
Posted by Charlie Wed, 16 Aug 2006 06:00:00 GMT
Pat Eyler has written a nice set of articles about profiling Ruby code. He shows how to use the built in Ruby profiler as well as ruby-prof (my personal favorite :). He talks a bit about call graphs, so if you're not familiar with them, his article is a good place to start.

I’m surprised you didn’t mention some of the great speed advancements in ruby prof, and a port for windows users. But you did mention something and that’s what counts. This really is a useful tool, and i’m glad people are talking about it.
Hi Benjamin,
I was trying to be subtle. See the link in the “my personal favorite” phrase? It goes back to the post that I wrote when Shugo and I released ruby-prof 0.4. I spent quite a few days optimizing ruby-prof’s speed - glad to see you’ve found it helpful.