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.

Posted in , ,  | 2 comments | no trackbacks

Comments

  1. Avatar Benjamin said 38 minutes later:

    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.

  2. Avatar Charlie said 1 day later:

    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.

Trackbacks

Use the following link to trackback from your own site:
http://cfis.savagexi.com/trackbacks?article_id=profiling-ruby-code&day=16&month=08&year=2006

(leave url/email »)

   Comment Markup Help Preview comment