in reply to Benchmark.pm ing -- and a little confused

It's comparing CPU time, which is a better measure of how long it takes your program to run than ordinary time.

Caution: Contents may have been coded under pressure.
  • Comment on Re: Benchmark.pm ing -- and a little confused

Replies are listed 'Best First'.
Re^2: Benchmark.pm ing -- and a little confused
by Sifmole (Chaplain) on Mar 14, 2005 at 21:57 UTC
    So I guess, because a large portion of the actual processing time is on a remote server and the local server is just waiting for most of it's "wallclock" time that is the reason for the large difference in percentages?

    So in this case the wallclock time would actually be a better gauge of the comparison than the CPU time, right?

      Yes, if the code of interest is being run on a remote machine, then wallclock seconds are your best measure.

      Caution: Contents may have been coded under pressure.
        Just remember, if the wallclock time is significantly affected by things unrelated to the actual CPU time spent running your script, then your script isn't necessarily the bottleneck, and may not be your prime target for any optimization work you've been planning.

        --
        [ e d @ h a l l e y . c c ]