Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2018-03-24 05:25 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (297 votes). Check out past polls.