Python vprof

From wikinotes

vprof is my new favourite profiler. I think I actually like it more than runsnakerun.

Usage

vprof -c cmh "file.py --cmd 1"   # run profiler
-c options
c cpu flame-graph (unavailable on windows)
m memory-graph
p python profiler
h code heatmap