- COMMAND-LINE OPTIONS
- SAMPLE OUTPUT
- SEE ALSO
- COPYRIGHT AND LICENSE
nytprofhtml - Devel::NYTProf::Reader HTML format implementation
$ nytprofhtml [-h] [-d] [-o <output directory>] [-f <input file>] perl -d:NYTProf some_perl_app.pl nytprofhtml Generating HTML Output...
A bit of history and a shameless plug...
NYTProf stands for 'New York Times Profiler'. Indeed, this module was developed by The New York Times Co. to help our developers quickly identify bottlenecks in large Perl applications. The Times loves Perl and we hope the community will benefit from our work as much as we have from theirs.
The reports include dynamic runtime analysis wherein each line and each file is analyzed based on the preformance of the other lines and files. As a result, you can quickly find the slowest module and the slowest line in a module. Slowness is measured in three ways: total calls, total time and average time per call. Analysis is based on absolute deviations from the median.
That might sound complicated, but in reality you can just run the command and enjoy your report!
Note: You'll need to run your app through Devel::NYTProf debugger first
These are the command line options understood by
- -f, --file <filename>
Specifies the location of the input file. Default: nytprof.out
- -o, --out <dir>
Where to place the generated report. Default: ./profiler/
- -d, --delete
Purge any existing database located at whatever -o (above) is set to
- -h, --help
Print the help message
Adam Kaplan, akaplan at nytimes dotcom
COPYRIGHT AND LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.