First, give dprofpp the flag that makes it sort by wall time, not by CPU time. Otherwise, things that take most of the time in the average program, like I/O, will appear to be very fast.

Second, make sure you initialize the debugger before loading any of the code that you want to profile, like this:
<Perl>
        require Apache::DB;
        Apache::DB->init;
</Perl>

Any code that you compile (e.g. use from startup.pl) before this will not get profiled at all.

- Perrin

Thanks for the replies...

I'll give it a try...

---
Badai Aqrandista
Cheepy (?)

_________________________________________________________________
SEEK: Over 80,000 jobs across all industries at Australia's #1 job site. http://ninemsn.seek.com.au?hotmail

Reply via email to