pprofile
pprofile copied to clipboard
correct way to profile -only- the code contained in a single script
Hi,
I am looking at pprofile as an alternative to line-profiler; Could you please tell me whats the correct way of using it so that only the code within a single script of choice is profiled, without recursing into other modules and files called by the script?
Thanks a lot