The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

nytprofhtml - Devel::NYTProf::Reader HTML format implementation

SYNOPSIS

 $ nytprofhtml [-h] [-d] [-o <output directory>] [-f <input file>]

 perl -d:NYTProf some_perl_app.pl
 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 NY Times loves Perl and we hope the community will benefit from our work as much as we have from theirs.

Please visit http://open.nytimes.com, our open source blog to see what we are up to, http://code.nytimes.com to see some of our open projects and then check out htt://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: ./nytprof/

-d, --delete

Purge any existing database located at whatever -o (above) is set to

-l, --lib <dir>

Add a path to the beginning of @INC

-h, --help

Print the help message

SAMPLE OUTPUT

http://adkap.com/images/Screenshot-XML-LibXML.pm.png
http://adkap.com/images/Screenshot-Profile-Index.png

SEE ALSO

Mailing list and discussion at http://groups.google.com/group/develnytprof-dev

Public SVN Repository and hacking instructions at http://code.google.com/p/perl-devel-nytprof/

Devel::NYTProf Devel::NYTProf::Reader nytprofcsv

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.