Skip to content

Commit 011f3f0

Browse files
committed
Add what's new entry
1 parent c316046 commit 011f3f0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ Key features include:
146146
and blocking. Use this to identify CPU-bound bottlenecks and optimize computational work.
147147
* **GIL-holding time** (``--mode gil``): Measures time spent holding Python's Global Interpreter
148148
Lock. Use this to identify which threads dominate GIL usage in multi-threaded applications.
149+
* **Exception handling time** (``--mode exception``): Captures samples only from threads with
150+
an active exception. Use this to analyze exception handling overhead.
149151

150152
* **Thread-aware profiling**: Option to profile all threads (``-a``) or just the main thread,
151153
essential for understanding multi-threaded application behavior.
@@ -175,6 +177,10 @@ Key features include:
175177
(``--async-aware``). See which coroutines are consuming time, with options to show only
176178
running tasks or all tasks including those waiting.
177179

180+
* **Opcode-level profiling**: Gather bytecode opcode information for instruction-level
181+
profiling (``--opcodes``). Shows which bytecode instructions are executing, including
182+
specializations from the adaptive interpreter.
183+
178184
See :mod:`profiling.sampling` for the complete documentation, including all
179185
available output formats, profiling modes, and configuration options.
180186

0 commit comments

Comments
 (0)