1NYTPROFCSV(1)         User Contributed Perl Documentation        NYTPROFCSV(1)
2
3
4

NAME

6       nytprofcsv - Devel::NYTProf::Reader CSV format implementation
7

SYNOPSIS

9        $ nytprofcsv [-h] [-d] [-o <output directory>] [-f <input file>]
10
11        perl -d:NYTProf some_perl_app.pl
12        nytprofcsv
13        Generating CSV Output...
14

HISTORY

16       A bit of history and a shameless plug...
17
18       NYTProf stands for 'New York Times Profiler'. Indeed, the original
19       version of this module was developed by The New York Times Co. to help
20       our developers quickly identify bottlenecks in large Perl applications.
21       The NY Times loves Perl and we hope the community will benefit from our
22       work as much as we have from theirs.
23
24       Please visit <http://open.nytimes.com>, our open source blog to see
25       what we are up to, <http://code.nytimes.com> to see some of our open
26       projects and then check out <htt://nytimes.com> for the latest news!
27

DESCRIPTION

29       "nytprofcsv" is a script that implements Devel::NYTProf::Reader to
30       create comma-seperated value formatted reports from Devel::NYTProf
31       databases.
32
33       See the Devel::NYTProf Perl code profiler for more information.
34

COMMAND-LINE OPTIONS

36       These are the command line options understood by "nytprofcsv"
37
38       -f, --file <filename>
39           Specifies the location of the input file.  The input file must be
40           the output of fprofpp. Default: nytprof.out
41
42       -o, --out <dir>
43           Where to place the generated report. Default: ./nytprof/
44
45       -d, --delete
46           Purge any existing database located at whatever -o (above) is set
47           to
48
49       -h, --help
50           Print the help message
51

SAMPLE OUTPUT

53        # Profile data generated by Devel::NYTProf::Reader v.0.01
54        # Author: Adam Kaplan. More information at http://search.cpan.org/~akaplan
55        # Format: time,calls,time/call,code
56        0,0,0,#--------------------------------------------------------------------
57        0,0,0,# My New Source File!
58        0,0,0,#--------------------------------------------------------------------
59        0,0,0,# $Id: nytprofcsv 1310 2010-06-17 14:51:01Z tim.bunce@gmail.com $
60        0,0,0,#--------------------------------------------------------------------
61        0,0,0,
62        0,0,0,package NYT::Feeds::Util;
63        0.00047,3,0.000156666666666667,use Date::Calc qw(Add_Delta_DHMS);
64        0.00360,3,0.0012,use HTML::Entities;
65        0.00212,3,0.000706666666666667,use Encode;
66        0.00248,3,0.000826666666666667,use utf8;
67        0.00468,3,0.00156,use strict;
68        0,0,0,
69        0.00000,1,0,require Exporter;
70        ... thats enough, get the picture? ...
71
72       Note: The format line indicates what fields the numbers correspond to
73
74       Note2: If the source file is modified between profiling and report
75       generation, the source might be misaligned
76

SEE ALSO

78       Mailing list and discussion at
79       http://groups.google.com/group/develnytprof-dev
80       <http://groups.google.com/group/develnytprof-dev>
81
82       Public SVN Repository and hacking instructions at
83       http://code.google.com/p/perl-devel-nytprof/
84       <http://code.google.com/p/perl-devel-nytprof/>
85
86       Devel::NYTProf Devel::NYTProf::Reader nytprofhtml is an HTML
87       implementation of Devel::NYTProf::Reader
88

AUTHOR

90       Adam Kaplan, akaplan at nytimes dotcom
91
93       This program is free software; you can redistribute it and/or modify it
94       under the same terms as Perl itself, either Perl version 5.8.8 or, at
95       your option, any later version of Perl 5 you may have available.
96
97
98
99perl v5.12.2                      2010-06-17                     NYTPROFCSV(1)
Impressum