Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Optimizing a large project.

by perrin (Chancellor)
on Jun 12, 2008 at 19:25 UTC ( #691780=note: print w/replies, xml ) Need Help??


in reply to Re^2: Optimizing a large project.
in thread Optimizing a large project.

We're measuring the response time between the timestamp of the event and when we responded to it.
So, that would be wall time. Profile with wall time then.
We do have fairly significant IO, both to disk and the network. The files are buffered writes, so we don't think that's our problem.
If you never measured it, you don't really know. I/O is nearly always the problem on modern hardware, unless you're doing 3D rendering or something similarly compute intensive.

Replies are listed 'Best First'.
Re^4: Optimizing a large project.
by dextius (Monk) on Jun 12, 2008 at 21:00 UTC
    I'll tackle the I/O benchmarks immediately, do you have a suggestion on a specific approach by chance?
      I don't know how the NYT profiler does things, but with Devel::DProf all you have to do is take the data you already have and feed it to dprofpp -r. The -r flag means "real" time.

      UPDATE: Looks like NYTProf makes you declare this before you collect the profile data. The option is called "useclocktime".

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2022-06-29 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (96 votes). Check out past polls.

    Notices?