Python Profiling - Part 1
I gave a talk on profiling python code at the 2012 Utah Open Source Conference. Here are the slides and the accompanying code. There are three parts to this profiling talk: Standard Lib Tools - cProfile, Pstats Third Party Tools - line_profiler, mem_profiler Commercial Tools - New Relic This is Part 1 of that talk. It covers: cProfile module - usage Pstats module - usage RunSnakeRun - GUI viewer Why Profiling:...