Python/Profiling
From charlesreid1
Introduction
List of Python Profiling Tools
Profiling tools provided by Python:
- cProfile is a C extension, the recommended method of profiling python programs, and is based on lsprof
profile is a module that adds significant overhead; reports time spent in calls to built-in functions and methodshotshot - not developed/supported anymore
Link: https://docs.python.org/2/library/profile.html
Gprof2dot:
- Reads all sorts of input formats, outputs to graphviz dot
Gprof2dot link: https://github.com/jrfonseca/gprof2dot