good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: How to find out, why my perl code is slow.by swl (Parson) |
on Nov 05, 2018 at 01:36 UTC ( [id://1225235]=note: print w/replies, xml ) | Need Help?? |
Definitely use Devel::NYTProf. The perl documentation also contains a section about this topic that should be read. See https://perldoc.perl.org/perlperf.html. The documentation for Devel::NYTProf gives more details about how to use it specifically. An internet search will produce plenty of examples, but one that includes example output is at https://www.effectiveperlprogramming.com/2011/10/profile-with-develnytprof.
In Section
Seekers of Perl Wisdom
|
|