mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-138122: Implement PEP 799 (#138142)
This commit is contained in:
parent
f733e428f8
commit
56eb6b64a0
23 changed files with 497 additions and 386 deletions
13
Lib/profiling/__init__.py
Normal file
13
Lib/profiling/__init__.py
Normal file
|
|
@ -0,0 +1,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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue