Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Benchmark.pm ing -- and a little confused

by Sifmole (Chaplain)
on Mar 14, 2005 at 21:57 UTC ( #439467=note: print w/ replies, xml ) Need Help??


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

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?


Comment on Re^2: Benchmark.pm ing -- and a little confused
Re^3: Benchmark.pm ing -- and a little confused
by Roy Johnson (Monsignor) on Mar 14, 2005 at 22:02 UTC
    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 ]

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://439467]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-07-29 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (217 votes), past polls