Monitor errors and performance issues with Sentry.io

Python Perf: Specializing, Adaptive Interpreter

Episode #381, published Fri, Sep 16, 2022, recorded Thu, Sep 15, 2022.

This episode is carbon neutral.
We are on the edge of a major jump in Python performance. With the work done by the Faster CPython team and Python 3.11 due out in around a month, your existing Python code might see an increase of well over 25% in speed with no changes. One of the main reasons is its new specializing, adaptive interpreter.

This episode is about that new feature and a great tool called Specialist which lets you visualize how Python is speeding up your code and where it can't unless you make minor changes. Its creator, Brandt Bucher is here to tell us all about.



Links from the show

Brandt Bucher: github.com
Specialist package: github.com
Faster CPython: github.com
Faster CPython Ideas: github.com
pymtl package: pypi.org
PeachPy: github.com
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm

--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Twitter: @talkpython
Follow Michael on Twitter: @mkennedy

Want to go deeper? Check out our courses

Brandt Bucher
Brandt Bucher
Brandt is a Python core developer currently working at Microsoft on a team tasked with improving the speed of the CPython interpreter. He has been officially involved in Python development since 2019, and has improved its performance, stability, and expressiveness in a variety of ways.
Episode sponsored by
Ads served ethically
X
Become a friend of the show
Stay in the know and get a chance to win our contests.
See our privacy statement about email communications.