[VPM] DProf

Peter Scott Peter at PSDT.com
Wed Jan 30 09:42:59 PST 2008


At 09:19 PM 1/29/2008, Jer A wrote:

>hi all,
>
>I am in the process of trying to optimize a cgi script. what do the 
>values mean

See http://search.cpan.org/~ilyaz/DProf-19990108/DProf.pm#PROFILE_FORMAT

>and what should I monitor for improvements.

Use the program dprofpp which comes with DProf to interpret this file for you.

>-jeremy
>
>eg.
>
>#fOrTyTwO
>$hz=1000;
>$XS_VERSION='DProf 20050603.00';
># All values are given in HZ
>$over_utime=15; $over_stime=16; $over_rtime=31;
>$over_tests=10000;
>$rrun_utime=172; $rrun_stime=125; $rrun_rtime=297;
>$total_marks=440

I find a number of problems with DProf (file gets huge rapidly, cannot 
be piped, trace only at subroutine level).  I consider Devel::SmallProf 
much better.
-- 
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com/
http://www.perlmedic.com/




More information about the Victoria-pm mailing list