Posted by : Sushanth Monday, 14 December 2015

Profiling in Perl using NYTProf:
Purpose: Find execution time of each function .
Cpan used: Devel::NYTProf
Syntax:
perl -d:NYTProf  <perl_script.pl>
Procedure :
Step1: perl -d:NYTProf <perl_script.pl> => generates nytprof.out
Step2: nytprofhtml => generated a folder “nytprof” which contains html file

Step3: open nytprof/index.html which gives profiling information

Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © Technical Articles - Skyblue - Powered by Blogger - Designed by Johanes Djogan -