summaryrefslogtreecommitdiffstats
path: root/Lib/profiling/__init__.py
blob: c94e1e16e35ba212fa5c7764c5c55f20aeacf09f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""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")