Version-Specific Features
Python 3.15 — Tachyon sampling profiler
Statistical profiling samples stacks to estimate where time is spent, unlike deterministic tracing of every call. Results depend on workload, sample rate, permissions and platform. Use only authorized processes; no live attachment is performed here. Requires Python 3.15 or the relevant build; example is not executed locally.
Formal Syntax & Structure
python syntaxpython
python -m profiling.sampling --helpReturn Value
Feature-specific
No single return type; see the example and feature description.
Working Example
Example Snippetpython
# CLI discovery example, not Python source:# python -m profiling.sampling --help