File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff 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+
178184See :mod: `profiling.sampling ` for the complete documentation, including all
179185available output formats, profiling modes, and configuration options.
180186
You can’t perform that action at this time.
0 commit comments