29 November 2008
This post may be outdated due to it was written on 2008. The links may be broken. The code may be not working anymore. Leave comments if needed.
Devel::NYTProf is the best dprof tool in Perl land. it's really easy to install, configure, run and read the results.

just be careful with Catalyst Application (which use NEXT), it can't be ran under 5.8.6
you need 5.8.8 or 5.10.

run under modperl 1/2 is simple with Devel::NYTProf::Apache.
it writes files under /tmp and you can mv it to your place and run nytprofhtml on it.

what in result page is:
Calls is how many times it's called.
P is Number of Places sub is called from
F is Number of Files sub is called from
Exclusive Time is time in sub excluding subs it called
Inclusive Time is time in sub including subs it called

it really helps me a lot. Thanks, Tim.


blog comments powered by Disqus