NYTPROFCSV(1)
π NYTPROFCSV β the nytprofcsv manual page, bestie edition π
okay so this is the manual page for nytprofcsv, from the User Contributed Perl Documentation section (that's section 1, aka "you type this in a terminal"). sit down, grab a strawberry, we're doing CSV profiling reports πβ¨
β¨ NAME β¨
nytprofcsv β (DEPRECATED) the CSV format implementation of Devel::NYTProf::Reader
say it with me: DEPRECATED. it's giving "still works but its days are numbered" π
π¦ SYNOPSIS π¦
$ nytprofcsv [-h] [-d] [-o <output directory>] [-f <input file>]
perl -d:NYTProf some_perl_app.pl
nytprofcsv
Generating CSV Output...
like. you profile your app, you run nytprofcsv, and boom β CSV. that's the whole arc π
π NOTE π
nytprofcsv is deprecated and will be removed in a future release.
no cap, this is a warning: it will be removed. future release. gone. don't build your whole pipeline on it unless you love chaos π
π DESCRIPTION π
nytprofcsv is a script that implements Devel::NYTProf::Reader to create comma-separated value formatted reports from Devel::NYTProf databases.
for more info, go look at the Devel::NYTProf Perl code profiler. it's the main character of this whole story π
π COMMAND-LINE OPTIONS π
these are the command line options understood by nytprofcsv, and yes bestie, we're listing all of them π
-f,--file<filename> β tells it where the input file lives. heads up: the input file must be the output offprofpp. default:nytprof.out-o,--out<dir> β where the generated report gets dropped. default:./nytprof/-d,--deleteβ purges any existing database located at whatever-o(above) is set to. like, it deletes it. at that path. that's the vibe ποΈ-h,--helpβ prints the help message. the classic β¨
πΈ SAMPLE OUTPUT πΈ
here's what it spits out, and honestly? look at those numbers being all tidy and comma-separated π₯Ή
# Profile data generated by Devel::NYTProf::Reader v.0.01
# Format: time,calls,time/call,code
0,0,0,#--------------------------------------------------------------------
0,0,0,# My New Source File!
0,0,0,#--------------------------------------------------------------------
0,0,0,
0,0,0,package NYT::Feeds::Util;
0.00047,3,0.000156666666666667,use Date::Calc qw(Add_Delta_DHMS);
0.00360,3,0.0012,use HTML::Entities;
0.00212,3,0.000706666666666667,use Encode;
0.00248,3,0.000826666666666667,use utf8;
0.00468,3,0.00156,use strict;
0,0,0,
0.00000,1,0,require Exporter;
... that's enough, get the picture? ...
Note: that format line tells you which fields the numbers correspond to. it's the key, iykyk π
Note2: if the source file gets modified between profiling and report generation, the source might be misaligned. so like, don't touch the file mid-process, bestie π
π§ SEE ALSO π§
- mailing list and discussion at <https://groups.google.com/group/develnytprof-dev> β wait, no links allowed in my terminal rendering but you get it, the group is
develnytprof-devon Google Groups, and the URL is<http://groups.google.com/group/develnytprof-dev>π - public Github Repository and hacking instructions at <https://github.com/timbunce/devel-nytprof/> β go be a contributor, main character energy π«Ά
Devel::NYTProfDevel::NYTProf::Readernytprofhtmlβ it's an HTML implementation ofDevel::NYTProf::Reader, if CSV isn't your aesthetic π¨
π AUTHOR π
Adam Kaplan, akaplan at nytimes dotcom. legend. thank you for your service π«‘
π 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.
and that's the whole page, bestie!! this one came from perl v5.42.0 and it's dated 2025-07-25 β so like, remember the date, hydrate, and go profile something pretty. bye pookie, slay responsibly πβ¨π
π¦ where this page comes from
- fedora 43: perl-Devel-NYTProf 6.14-8.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms