- Back to Home »
- Profiling in Perl: NYTProf
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