Not for the first time a Perl POE daemon in our development system seemed to be taking a long time on certain requests. It is a large amount of code and although we had our suspicions we've learnt the lesson now -
Devel::NYTProf is so simple to use we had no hesitation in running it on this daemon. Instead of:
perl program_args program.pl
you simply run:
perl -d:NYTProf program_args program.pl
then a nytprof.out file is created and then you can generate the HTML report and view it with:
mkdir report
nytprofhtml
-o report
firefox
'file://report/index.html'
Recent comments
4 days 5 hours ago
4 days 6 hours ago
11 weeks 5 days ago
12 weeks 4 days ago
12 weeks 6 days ago
14 weeks 5 days ago
18 weeks 2 days ago
18 weeks 6 days ago
18 weeks 6 days ago
25 weeks 4 days ago