Benchmark::Timer will allow you to wrap timing code around existing code without restructuring and with little impact upon it. It will also accumulate statistics from multiple timed segments in a single run and generate the familiar Benchmark.pm style reports at the end.
Devel::SmallProf profiles code line by line instead sub by sub.
In reply to Re: Clocking Portion of Your Perl Code
by BrowserUk
in thread Clocking Portion of Your Perl Code
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |