Hi Sluggers:

Is there a way for me to analyse Perl performance to see which portion
takes the most CPU usage ?

The url

http://www.ccl4.org/~nick/P/Fast_Enough/

talks about a Devel::DProf (with Devel::DProfPP to decode) to check speed.
What I want is to see portion of code that takes up the most CPU usage
that I see from running "top".

For scripts that runs via browser how do I check such performace criteria ?

Do I add this in the top line of the .pl script ?

#!/usr/bin/perl -d:DProf

I read the Dprofpp options, and I cannot see a switch that tells me the
CPU usage for each sub routine. This seems to work with speed only.

Is there another module for CPU usage instead of time in secs ?

Thanks.

Louis.

-- 
I'm always learning something new everyday. Thanks Sluggers.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to