Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 78873
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: Nobody in particular
Requestors: victor [...] vsespb.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: nytprofhtml and fork
Date: Thu, 9 Aug 2012 22:52:35 +0400
To: bug-devel-nytprof [...] rt.cpan.org
From: Victor Efimov <victor [...] vsespb.ru>
Download (untitled) / with headers
text/plain 676b
hello. tool nytprofhtml does not generate report for profiled fork'ed processed. more than that it does generate only report for one (first) process without any warning etc. i think it's kinda bug in documentation, and there should be a note in documentation about that. nytprof.out files for processes, that use fork, looks like that (be default): nytprof.out nytprof.out.123. nytprof.out.456 etc when nytprofhtml generates report it takes only nytprof.out (be default) also it was not obvious for me that nytprof.out contain info for one process (who knows maybe it's a master "index" file etc). so I spent a bit of time before understand that my profiling is wrong.
Download (untitled) / with headers
text/plain 551b
Thanks for the report. I've updated the nytprofhtml docs to say: C<nytprofhtml> generates a set of html reports from a single data file generated by L<Devel::NYTProf>. (If your process forks you'll probably have multiple files. See L<Devel::NYTProf> and L<nytprofmerge>.) and the Devel::NYTProf docs to say: ... NYTProf detects the fork and starts writing a new profile file with the pid appended to the filename. Since L<nytprofhtml> only works with a single profile file you may want to merge multiple files using L<nytprofmerge>. Thanks again.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.