Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Benchmarking modules

by repson (Chaplain)
on Mar 25, 2001 at 15:46 UTC ( #67012=note: print w/replies, xml ) Need Help??

in reply to Benchmarking modules

What you are trying to benchmark is loading time, so keep that in mind. I can think of two ways to benchmark achive that aim.

The first is timing with some tool the times (under unix use times, otherwise use Benchmark to time the system("..."); function from perl). Use the command lines:

perl -e "" perl -e "use CGI ':standard';" perl -e "use HTML::Entities"

Otherwise the data you want may be attainable through Devel::DProf, which is useful for seeing all bottlenecks, in compile or runtime.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://67012]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-01-20 02:19 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (173 votes). Check out past polls.