Tachyon: High frequency statistical sampling profiler
docs.python.org·5d·
🔬Code Analysis
Preview
Report Post

Added in version 3.15.

Source code: Lib/profiling/sampling/


The profiling.sampling module, named Tachyon, provides statistical profiling of Python programs through periodic stack sampling. Tachyon can run scripts directly or attach to any running Python process without requiring code changes or restarts. Because sampling occurs externally to the target process, overhead is virtually zero, making Tachyon suitable for both development and production environments.

What is statistical profiling?

Statistical profiling builds a picture of …

Similar Posts

Loading similar posts...