
← core.py12 jul 2025 · 1 u 42 min
The Megahertz
<p>Python 3.14? That's old news. Let's talk about the first big feature of Python 3.15 -- a built-in sampling profiler for Linux, macOS, and Windows. We also cover improvements in perf support, discuss memory.python.org, and as usual, recent changes in the codebase.</p><p><br></p><p>## Timestamps</p><p><br></p><p>(00:00:00) INTRO</p><p>(00:02:43) PART 1: THE SAMPLING PROFILER</p><p>(00:05:07) Built-in profile is bad, long live cProfile</p><p>(00:10:54) Out-of-process profiling</p><p>(00:12:18) Shortcuts Compromise Accuracy, Leading Eventually to Numerous Errors</p><p>(00:16:07) Selfish Łukasz vs benevolent Pablo</p><p>(00:23:11) How does a sampling profiler even work?</p><p>(00:30:42) One meeellion huuurtzzz</p><p>(00:32:40) Free threading makes it extra spicy</p><p>(00:41:26) AsyncIO makes it even spicier</p><p>(00:49:49) You made this? I made this</p><p>(00:54:06) What if the profiled process changes during sampling?</p><p>(00:57:33) Coming in October 2026</p><p>(01:04:30) PART 2: PR OF THE WEEEEEEK</p><p>(01:14:14) memory.python.org launched</p><p>(01:23:15) PART 3: WHAT'S GOING ON IN CPYTHON</p><p>(01:26:45) Performance updates</p><p>(01:30:24) Features & Curiosities</p><p>(01:41:45) OUTRO</p>