From: "Brian Schröder" Date: 2004-12-01T20:10:44+09:00 Subject: Improvements to the profiler [Was Re: profile] On Wed, 1 Dec 2004 08:12:52 +0900 Florian Gross wrote: > Joe Van Dyk wrote: > > > I found the '-r profile' option. Are there any better tools out there? > > What new features would they provide? > 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.) I could extract this cases into some extra class, but it would be nicer to tell the profiler to discern between method call at line x and line y and not to report method calls from line y. Regards, Brian -- Brian Schr�der http://www.brian-schroeder.de/