look at perldoc -m Benchmark
On 5/20/08, Richard Lee <[EMAIL PROTECTED]> wrote: > > timbo wrote: > >> Hi all, >> >> I was just wondering if any general tools / modules exist to help >> measure the efficiency of any code. >> I know that the Learning Perl books cover the theory but was wanting >> to know if there were good measuring methods available. >> Its pretty easy to figure out the time a script took to run but >> knowing the load on the cpu, the overhead from all the loops & >> variables, arrays & hashes, etc would also be nice to know. >> Any suggestions appreciated. >> Thanks in advance. >> t. >> >> >> >> > > > perl -d:DProf ./programname > > and then > > dprofpp > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > > >