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]
[GotToBTru]: better late than never, I guess
[Corion]: GotToBTru: Sure - there is a long and sad story of many frantic cleanups that led us to implement this notification ;)

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-03-29 11:37 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (347 votes). Check out past polls.