Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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 imbibing at the Monastery: (3)
As of 2017-07-22 22:18 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (342 votes). Check out past polls.