Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: 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: ing -- and a little confused
in thread 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: ing -- and a little confused

Replies are listed 'Best First'.
Re^3: 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://439467]
[Corion]: Also, a good application to test my API to rate limit things
[choroba]: Dangers of WFH: a mailman rings, brings a parcel for my wife, I need to go outside, take my son with me, sign a paper *and* into the postman's mobile app, get back. Guess what the soup was doing meanwhiles?

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 2017-10-18 11:32 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (244 votes). Check out past polls.