Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: How to use Devel::NYTProf on Apache

by swl (Priest)
on Mar 09, 2020 at 08:34 UTC ( #11114002=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to use Devel::NYTProf on Apache
in thread How to use Devel::NYTProf on Apache

What is the actual invocation you are using? If the files look like nytprof.out.123 then you need to use the -f flag, e.g. nytprofhtml -f nytprof.out.123 . More details are at nytprofhtml.

It is probably also worth looking at the Apache specific docs in Devel::NYTProf::Apache as it seems not to have been mentioned thus far. (I have never used it, though).

There is also nytprofmerge if you have multiple output files and want to combine the results.

Replies are listed 'Best First'.
Re^4: How to use Devel::NYTProf on Apache
by feumw (Novice) on Mar 09, 2020 at 10:45 UTC
    I used nytprofhtml nytprof.out.123 so far. Maybe nytprofmerge can help me out. so far I'm getting Profile format error: token 54 ('6'), chunk 505, pos 16080 (see TROUBLESHOOTING in NYTProf docs) at /usr/local/lib64/perl5/Devel/NYTProf/Data.pm line 87. but I haven't researched it yet. Currently I'm doing a small excursion taking a look on my apache-logs. I'll head on this issue later again. I still hope I'll get this running.

      the man page does not mention a usage like nytprofhtml nytprof.out.123 . Use nytprofhtml -f nytprof.out.123 as swl advised.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11114002]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2020-11-30 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?