Talk Python To Me artwork

Talk Python To Me · Michael Kennedy

#565: Tachyon, Python 3.15's Built-in Sampling Profiler

Do you know what's actually slow in your Python app? Or are you guessing? Until now, profiling Python meant a tracing profiler that made your code 2 to 3 times slower. Or a third-party tool that broke with every new release. Python 3.15 fixes that. It ships Tachyon, a sampling profiler built into the standard library. It attaches to live production apps with almost zero overhead. My guests are Pablo Galindo Salgado, CPython core developer and Steering Council member, and László Kiss Kollár from Bloomberg's Python infrastructure team. Their first prototype ran at two samples a second. Now it does over a million hz. And it lands in Python 3.15 this October. Episode sponsors Sentry Error Monitoring, Code talkpython26 Python in Production Talk Python Courses Links from the show Guests László Kiss Kollár: linkedin.com Pablo Galindo Salgado 3.11: talkpython.fm Memray: talkpython.fm PyStack: talkpython.fm profile and cProfile: docs.python.org py-spy: github.com Austin: github.com PEP 799: peps.python.org PEP 768: peps.python.org PyCon US 2026 talk: us.pycon.org The docs: docs.python.org Backport to 3.14: github.com Watch this episode on YouTube: youtube.com Episode #565 deep-dive: talkpython.fm/565 Episode transcripts: talkpython.fm Theme Song: Developer Rap 🥁 Served in a Flask 🎸: talkpython.fm/flasksong ---== Don't be a stranger ==--- YouTube: youtube.com/@talkpython Bluesky: @talkpython.fm Mastodon: @[email protected] X.com: @talkpython Michael on Bluesky: @mkennedy.codes Michael on Mastodon: @[email protected] Michael on X.com: @mkennedy

Oct 22026
1 h 27 minlength
2,597transcript lines
Publishertranscript source

Transcript first 15 of 2,597 lines

0:00Pablo Galindo SalgadoDo you know what's actually slow in your Python app?

0:02Pablo Galindo SalgadoOr are you just guessing?

0:03Pablo Galindo SalgadoUntil now,

0:04Pablo Galindo Salgadoprofiling Python meant a tracing profiler

0:07Pablo Galindo Salgadothat made your code two to three times slower,

0:10Pablo Galindo Salgadoor a third-party tool that broke

0:12Pablo Galindo Salgadowith every new release of the Python runtime.

0:15Pablo Galindo SalgadoPython 3.15 fixes that.

0:17Pablo Galindo SalgadoIt ships with Tachyon, a sampling profiler

0:20Pablo Galindo Salgadobuilt into the standard library.

0:22Pablo Galindo SalgadoIt attaches to live production apps

0:23Pablo Galindo Salgadowith almost zero overhead.

0:26Pablo Galindo SalgadoMy guests are Pablo Galindo Salgado,

0:28Pablo Galindo Salgadoa CPython core developer and steering council member,

0:31Pablo Galindo Salgadoand Laszlo Kiskoller from Bloomberg's Python infrastructure team.

More Talk Python To Me episodes →