Problems profiling with Apache::DProf
[prev]
[thread]
[next]
[Date index for 2005/03/29]
I'm having trouble with Apache::DProf. Firstly, there seems to be a
problem with the server_root_relative() method; once that's hacked to
work, the profiler still doesn't return any useful information. The
most I've been able to get it to do is profile what appears to be the
Apache:: startup information, but not my handler.
Perl 5.8.6, Apache 2.0.53, mod_perl 1.999.21. The relevant section of
the httpd.conf:
PerlModule Apache2
PerlModule Apache::DB
PerlModule Apache::DProf
<Location /www>
SetHandler perl-script
PerlHandler Controller::Dispatcher
</Location>
I've tried loading Apache::DB and Apache::DProf in an init.pl, as well
as in a BEGIN block in my handler module -- the best that I get is a
result that looks like:
Total Elapsed Time = 0.089404 Seconds
User+System Time = 0.089404 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c Name
11.1 0.010 0.010 1 0.0100 0.0100 warnings::BEGIN
11.1 0.010 0.020 2 0.0050 0.0100 DynaLoader::BEGIN
11.1 0.010 0.010 7 0.0014 0.0014 File::Path::BEGIN
11.1 0.010 0.010 6 0.0017 0.0016 Apache::DB::BEGIN
0.00 - -0.000 1 - -
Apache::ServerUtil::bootstrap
0.00 - -0.000 1 - -
Apache::ServerRec::push_handlers
0.00 - -0.000 1 - - vars::import
0.00 - -0.000 1 - - Config::TIEHASH
0.00 - -0.000 1 - - Config::import
0.00 - -0.000 1 - - APR::Pool::bootstrap
0.00 - -0.000 1 - - DynaLoader::dl_load_flags
0.00 - -0.000 1 - - Apache::DB::bootstrap
0.00 - -0.000 1 - - Exporter::import
0.00 - -0.000 1 - - re::bits
0.00 - -0.000 1 - -
File::Basename::fileparse_set_fsty
0.0000 pe
Ideas? Some Big Thing I'm just totally missing?
TIA,
jfb
--
James Felix Black
Programmer, iParadigms LLC
510-287-9720 x250
 |
Problems profiling with Apache::DProf
James Black 19:02 on 29 Mar 2005
|