in reply to Re: performance profiling
in thread performance profiling

Thanks perrin, this is just the type of thing, in combination with grep's sectioning, that I was looking for.

Using a combination of this, Benchmark, and Devel::DProf I should be able to isolate any kind of bottleneck I run into.

Replies are listed 'Best First'.
Re^3: performance profiling
by madbombX (Hermit) on Sep 25, 2006 at 17:33 UTC
    I have tendency to be a little short on patience at times. Therfore I usually use Devel::FastProf. It is a perline profiler. It can be used just like dprof:

    $ perl -d:FastProf my_script.pl $ fprofpp -t 10
    Update: Also, here is an article on profiling code and how to understand the data being delivered to you by the profiler. It was helpful to me when I was learning to better profile my code: http://www.ddj.com/184404580.