NAME
nytprofhtml - Devel::NYTProf::Reader HTML format implementation
SYNOPSIS
$ nytprofhtml [-h] [-d] [-o <output directory>] [-f <input file>]
C<perl -d:NYTProf some_perl_app.pl>
C<nytprofhtml>
Generating HTML Output...
HISTORY
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.
Please visit code.nytimes.com, our open source blog to see what we are up to, and then check out nytimes.com for the latest news!
DESCRIPTION
nytprofhtml
is a script that utilizes Devel::NYTProf::Reader to create colorful HTMl formatted reports from Devel::NYTProf output.
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
COMMAND-LINE OPTIONS
These are the command line options understood by nytprofhtml
- -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
SAMPLE OUTPUT
<a href="../../t/sample/">Sample Output</a> Sample output is located in the test directory.
SEE ALSO
Devel::NYTProf "Devel::NYTProf::Reader "
AUTHOR
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.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 470:
Nested L<> are illegal. Pretending inner one is X<...> so can continue looking for other errors.
Unterminated L<...> sequence