I am wondering if there is a Perl profiler out there that can profil the time spend in the subroutine call of a specific subroutine.
I do not want to time the whole subroutine (from call to return), but only the time spend by Perl in calling the subroutine (between call and the first instruction of the subroutine).
Is this possible ? (Whithout hand-adding time function in all my 90k line of code of course :))
Thanks.
It seems you need Devel::NYTProf
's line profiling mode. "Time on line" column will show you how much is spent on processing line where you make call, excluding time taken in called sub.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With