For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > September 2004 > Measure program performance









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Measure program performance
Ricardo Pichler

2004-09-28, 3:57 am

Hi folks,
I need measure how much my perl program consume while it is executed.

Can anyone help me?

Sorry my bad english.

Thank in advance,
Ricardo Pichler
Matthew Shaw

2004-09-28, 4:00 pm

> I need measure how much my perl program consume while it is executed.

You can use the Benchmark module to determine execution times. This is
included in the core module set. There is also a related FAQ page that
you can read by doing:=20

perldoc -q profile

at your command prompt.

There is also the 'Devel::DProf' module which provides more granular
performance details. Hope this helps.

Matt

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com