Profiling Ruby Code

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.

  1. Benjamin
    August 16, 2006

    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.

    – ben @ http://rubyonrailsblog.com

    Reply
  2. Charlie
    August 17, 2006

    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.

    Reply

Leave a Reply

Your email address will not be published.

Top