Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 pondering the Monastery: (19)
As of 2014-09-19 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (138 votes), past polls