You might want to look up Devel::Dprof instead.For line-by-line profiling, I've found Devel::SmallProf very useful. It's used much the same way.
# wait 160 seconds or whatever...Actually, I found with both Dprof and SmallProf that the wallclock time is significantly longer than the "profiled" time. For Dprof, I recall 5x; for SmallProf, more like 10x.
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re^3: Sloooooow algo in Perl
by QM
in thread Sloooooow algo in Perl
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |