Badai Aqrandista wrote:
As I said previously, the handler itself tops everything... I don't know
why it happens...
It does look odd. Maybe you are still loading some code before calling
Apache::DB->init(). Can you post your httpd.conf, or at least the
mod_perl part of it?
If I use Devel::Timer to profile its parts, I found
that this block takes the most time to run (99.98%):
eval { $app->run };
if ($@) {
$r->log_error("Server error: $@");
$app->send_error(err => $@);
}
That's pretty much the whole thing, isn't it?
But the call should not be included in the handler's ExclSec time,
shouldn't it?
That's why I think you are loading some code before initializing the
debugger -- when it doesn't know about those other subs, they don't show
up in the profile.
- Perrin