mirror of
https://github.com/python/cpython.git
synced 2025-10-19 16:03:42 +00:00
13 lines
421 B
Python
13 lines
421 B
Python
"""Python profiling tools.
|
|
|
|
This package provides two types of profilers:
|
|
|
|
- profiling.tracing: Deterministic tracing profiler that instruments every
|
|
function call and return. Higher overhead but provides exact call counts
|
|
and timing.
|
|
|
|
- profiling.sampling: Statistical sampling profiler that periodically samples
|
|
the call stack. Low overhead and suitable for production use.
|
|
"""
|
|
|
|
__all__ = ("tracing", "sampling")
|