How do I enable/disable the profiler mid-run? Where are the supposed "enable()" "disable()" methods mentioned in the readme? #133
Unanswered
ItsCubeTime
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I enable/disable the profiler mid-run? Where is the supposed "enable()" "disable()" methods mentioned in the readme?
I would like to be able to call the methods for enabling/disabling the profiling myself, sort of like
performanceProfiler = cProfile.Profile().enable()
performanceProfiler.disable()
ps = pstats.Stats(performanceProfiler, stream=s).sort_stats(sortby)
Thanks
Beta Was this translation helpful? Give feedback.
All reactions