Hmmm ... I would start with logging and timing before I jumped into any of the profile modules. That way I could narrow down the chunk(s) of code that are problematic. BTW ... I would use Benchmark's timediff method:
my $t1 = Benchmark->new() # # chunk of code # my $t2 = Benchmark->new(); my $td = timediff( $t2, $t1 ); $log->debug( "Chunk x took " . timestr( $td ) );
In reply to Re: Profiling woes
by derby
in thread Profiling woes
by goupilInside
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |