This is a discussion on Re: Apache::DProf giving empty tmon.out files - modperl ; > Ok, just tried putting it in there, didn't seem to make any difference to > the tmon output (naturally, checking after stopping the server). I had > noticed a reference to APR::Pool in the tmon files before so I ...
> Ok, just tried putting it in there, didn't seem to make any difference to
> the tmon output (naturally, checking after stopping the server). I had
> noticed a reference to APR::Pool in the tmon files before so I would have
> thought it was loading it in any case.
if you want to (again) try Devel::Profiler it's really as simple as adding
to your startup.pl. see the t/conf/ files in the D::P (svn)
distribution for a working example (assuming it passes the tests
you also need to start in single server mode or, alternatively, setting
at the bottom of your httpd.conf. note also that you can set the output
Devel::Profiler::Apache->import(output_dir => $odir);
in your startup.pl. see also
for a list of packages to avoid.
lastly, it's been noted already, but in case you missed it, please note
that you won't get any data until the child process exits (or httpd is
shut down), so try killing off the child.
fwiw, I submitted a proposal for OSCon on profiling, specifically how we
profile "a large mod_perl application" hopefully the selection folks
find it a worthy topic.