GitHub - benfred/py-spy: Sampling profiler for Python programs
https://github.com/benfred/py-spySuper useful, especially for more complex programs, or programs that drop into non-python extensions.
I usually use it something like this:
py-spy record -o profile.svg --subprocesses --native --
Tags
Details
- Revised
- Created
- Edited