in reply to Profiling your code.
There's also Devel::NYTProf, which is more up-to-date and feature-rich than the three modules above.