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

Re: Making sense of some dprof output

by perrin (Chancellor)
on May 19, 2009 at 03:19 UTC ( #764806=note: print w/replies, xml ) Need Help??


in reply to Making sense of some dprof output

Why is the elapsed time double the user+system time? Because the elapsed time is real time and includes things like waiting for I/O operations. In other words, when working on a program that manipulates files, it's the number you should be paying attention to.

I'd also suggest you ditch Devel::DProf and start using Devel::NYTProf.

Replies are listed 'Best First'.
Re^2: Making sense of some dprof output
by PoorLuzer (Beadle) on May 19, 2009 at 05:24 UTC
    Nah.. I tried using Devel::NYTProf, but it does not come installed like dprof. I tried installing it by hand ONLY to find out that it uses XS. So me using Devel::NYTProf is pretty much out of question because I am not admin.
      Devel::DProf is broken. The results are mostly garbage. See the first few minutes of http://timbunce.blip.tv/file/1130150/ for an example.

      You can build and install any perl module, including XS modules, into a perl library directory of your own. You don't need admin rights.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2019-12-09 12:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?