Devel::NYTProf is a powerful feature-rich perl source code profiler. NYTProf is effectively two profilers in one: a statement profiler, and a subroutine profiler.