You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As well as pyinstrument (which does sample based profiling so doesn't record all stack frames only a sample) there is the built in cProfile module (https://docs.python.org/3/library/profile.html) which deterministically profiles all function calls - this gives more complete coverage but at a higher overhead (and the overhead in some cases may make the profiling timings non-representative of the non-profiled code). If you go with cProfile then snakeviz (https://jiffyclub.github.io/snakeviz/) is often a nicer way to visualize the profiling output than the default tabular output
Comments:
Resources:
The text was updated successfully, but these errors were encountered: