Sampling profiler for Python programs with minimal overhead
Sampling profiler for Python programs
py-spy
$ py-spy record -o profile.svg --pid 12345
$ py-spy record -o profile.svg -- python script.py
$ py-spy dump --pid 12345