Try Devel::DProf - a profiler specialised on subroutine execution times.
Step 1: Profile the code:
$ perl -d:DProf yourprog.pl
Step 2: Display results:
$ dprofpp -l tmon.out
Otherwise, use Devel::NYTProf as already suggested.
HTH,
Thomas
In reply to Re: Subroutine execution time
by tomfahle
in thread Subroutine execution time
by santosh_vjit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |