PyDocs

Debugging and profiling

profiling.tracing

Tracing profiler for Python.

This module provides deterministic profiling of Python programs by tracing
every function call and return.
Symbols in profiling.tracing

p

Profile
Builds a profiler object using the specified timer function.

r

run
Run statement under profiler optionally saving results in filename
runctx
Run statement under profiler, supplying your own globals and locals, optionally saving results in filename.