Hands-on with the new sampling profiler in Python 3.15

Overview

The first alpha release of Python 3.15 showcases a great new feature: the statistical sampling profiler. With it, you can gain insight into where a Python program is spending most of its time โ€” but unlike the existing profile and cProfile modules, you don't need to add instrumentation to your code, and the profiling process has virtually no impact on your program's performance.

Register Now