in reply to Is there a tool to measure Perl code performance?

For profiling your code there's perl's very own profiling tool Devel::DProf (and Devel::SmallProf), and you can find an article on the matter at Ovid's Devel::Dprof is your friend. As for accurate measurements of memory usage there's Elian's marvellous Devel::Size, this has to be hooked in manually, but with the likes of the Hook:: modules, this shouldn't be too tricky. There's also some nodes about in the monastery on profiling your perl code.
HTH

_________
broquaint

  • Comment on Re: Is there a tool to measure Perl code performance?