Simon Cozens shows how to
in an O'Reilly article.
"Everyone wants their Perl code to run faster. Unfortunately, without understanding why the code is taking so long to start with, it's impossible to know where to start optimizing it. This is where "profiling" comes in; it lets us know what our programs are doing.
We'll look at why and how to profile programs, and then what to do with the profiling information once we've got it.
to post comments)