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
35 weeks 4 days ago
37 weeks 6 days ago
39 weeks 4 days ago
39 weeks 4 days ago
47 weeks 5 days ago
48 weeks 6 days ago
50 weeks 2 days ago
1 year 6 days ago
1 year 5 weeks ago
1 year 8 weeks ago