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
31 weeks 3 days ago
33 weeks 6 days ago
35 weeks 3 days ago
35 weeks 4 days ago
43 weeks 5 days ago
44 weeks 6 days ago
46 weeks 2 days ago
49 weeks 13 hours ago
1 year 1 week ago
1 year 3 weeks ago