Skip to content

Commit 191804f

Browse files
committed
PEP 799: Small clarifications about new sampling profiler
1 parent 8d87d02 commit 191804f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

peps/pep-0799.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ optimizations, such as those introduced by :pep:`659`. Moreover, ``cProfile`` on
3434
main thread, making it less useful in modern concurrent Python programs. Confusingly, the naming
3535
of these modules implies that ``profile`` is canonical, when in fact it is largely obsolete.
3636

37-
With Python 3.15, a new sampling profiler was introduced under ``profile.sample``. Known as
38-
**tachyon**, this tool uses statistical sampling to infer performance characteristics, which
39-
introduces much lower overhead and works better with the modern Python interpreter. It also supports
40-
multiple threads, async functions, and attaching to running processes. Despite these strengths,
41-
the placement of tachyon under ``profile.sample`` is misleading and obscures its importance.
37+
With Python 3.15, a new sampling profiler was introduced under
38+
``profile.sample``. Known as **tachyon**, this tool uses statistical sampling
39+
to infer performance characteristics, which introduces **zero overhead
40+
profiling** and works better with the modern Python interpreter. It also
41+
supports **multiple threads, async functions, free threading builds and
42+
attaching to running processes**. Despite these strengths, the placement of
43+
tachyon under ``profile.sample`` is misleading and obscures its importance.
4244

4345
Currently, the organization of profiling tools lacks a consistent, discoverable structure.
4446
The proposed reorganization is meant to guide users more effectively toward appropriate tools,

0 commit comments

Comments
 (0)