Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Testing Efficiency

by athomason (Curate)
on Aug 29, 2000 at 08:37 UTC ( #30077=note: print w/ replies, xml ) Need Help??


in reply to Testing Efficiency

It partly depends on what your script is doing: CGI scripts usually run very quickly but frequently, while serious text-processing scripts may just suck up CPU cycles. The latter is much easier to monitor. The ps command is standard on every Unix system I've ever used, and you should be able to find a version of top for your platform for roughly realtime statistics. Execution time you can track by checking the system time at the beginning and end of your scripts, though this isn't very reliable for short-lived scripts.


Comment on Re: Testing Efficiency
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2014-12-28 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (181 votes), past polls