Sam Hames

Currently: “So many dependencies.”

GitHub - benfred/py-spy: Sampling profiler for Python programs

https://github.com/benfred/py-spy

Super 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

Related By Tags

Details

Revised
Created
Edited