Python runSnakeRun

From wikinotes
Revision as of 22:40, 3 November 2016 by Will (talk | contribs) (Created page with "runsnakerun uses the output from cProfile and creates a nested interactive map of your python program, wich each component's size representing the time spent on the task. It i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

runsnakerun uses the output from cProfile and creates a nested interactive map of your python program, wich each component's size representing the time spent on the task. It is wholly worth coming out of the terminal, and it is how I intend to do all cProfile profiling from this point onwards.

My workflow so far has been to sort-by module-name, to filter out the extra garbage I do not care about, then take a a look at particularly the calls, and cumulative time.

python2 -m cProfile lute.py -o /tmp/tmp
runsnake /tmp/tmp