From charlesreid1

Revision as of 04:46, 21 March 2017 by Admin (talk | contribs) (Created page with "=Introduction= ==List of Python Profiling Tools== Profiling tools provided by Python: * cProfile is a C extension, the recommended method of profiling python programs, and i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 methods
  • hotshot - 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