From: Glenn Parker Date: 2004-12-02T02:16:26+09:00 Subject: Re: Improvements to the profiler [Was Re: profile] Brian Schr�der wrote: > > Something I'm missing is to exclude certain statements and distinguish between > calls to the same method from different positions. If I profile any of my > progams I often get a result like > > 44.44 0.04 0.04 1 40.00 80.00 Array#each > > where I'm using different Array#each's that I don't want to have mixed. (E.g. > for setup and then for the routine I want to profile.) In Quantify, my profiler of choice from the C/C++ world (now part of Rational PurifyPlus), you get access to a full overlapping call-graph for every profiled function. You can find precise information about exactly which functions call other functions, and how much time any called function contributes to the calling functions total. Navigating the mass of data in the Quantify GUI has point-and-click simplicity. It's really quite nice, with a lot of information made easy to navigate. Worth a look if you want ideas on how to improve a profiler. Here's a link to some (slightly out-of-date) documentation that gives a good overview: http://bmrc.berkeley.edu/purify/docs/html/installing_and_gettingstarted/4-quantify.html -- Glenn Parker | glenn.parker-AT-comcast.net |