in reply to Re^2: Troubles with getting NYTProf to work properly in a CGI program
in thread Troubles with getting NYTProf to work properly in a CGI program
Thus, the problem remains as to how to use slowops, and some of the other items I see in the documentation for NYTProf.
They're documented under http://search.cpan.org/~timb/Devel-NYTProf-4.25/lib/Devel/NYTProf.pm#NYTPROF_ENVIRONMENT_VARIABLE, so like the example
export NYTPROF=trace=2:start=init:file=/tmp/nytprof.out
To see how ENV{NYTPROF} parses try http://cpansearch.perl.org/src/TIMB/Devel-NYTProf-4.25/lib/Devel/NYTProf/Core.pm
if (my $NYTPROF = $ENV{NYTPROF}) { for my $optval ( $NYTPROF =~ /((?:[^\\:]+|\\.)+)/g) { my ($opt, $val) = $optval =~ /^((?:[^\\=]+|\\.)+)=((?:[^\\=]+| +\\.)+)\z/; s/\\(.)/$1/g for $opt, $val;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Troubles with getting NYTProf to work properly in a CGI program
by ted.byers (Monk) on Feb 22, 2013 at 04:44 UTC | |
by Anonymous Monk on Feb 22, 2013 at 04:52 UTC | |
by Anonymous Monk on Feb 22, 2013 at 04:56 UTC |