I recently found myself in the unenviable position of having to dig into some performance issues. After wallowing in self pity for a while, I whipped up a dot graph printer:

As an added bonus, it groups method calls by class, which helps when reasoning about performance. Roger Pack kindly already merged it into the github repository, so you can try it out (you’ll have to build the gem from source until someone pushes 0.9.0).