Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: "Automated" benchmarking

by BrowserUk (Pope)
on Jan 24, 2012 at 11:07 UTC ( #949646=note: print w/ replies, xml ) Need Help??


in reply to "Automated" benchmarking

The type of tool you are looking for is called a "profiler". Typing that into CPAN yields many hits.

My personal preference is Devel::SmallProf. If you are a fan of verbosity and pretty pictures, you may like Devel::NYTProf.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?


Comment on Re: "Automated" benchmarking
Re^2: "Automated" benchmarking
by salva (Monsignor) on Jan 24, 2012 at 12:00 UTC
    Besides the verbose and pretty output of Devel::NYTProf it is also quite more accurate than Devel::SmallProf!

      In what way?


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

      The start of some sanity?

        The overhead introduced by Devel::SmallProf for every Perl sentence executed is too high resulting in a non-linear distortion of time measurements.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-09-22 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls