pprofile icon indicating copy to clipboard operation
pprofile copied to clipboard

correct way to profile -only- the code contained in a single script

Open ddjukic opened this issue 1 year ago • 0 comments

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

ddjukic avatar Apr 20 '23 08:04 ddjukic