Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Python and PyPy Performance - Not for Dummies

EuroPython Conference via YouTube

Overview

Explore Python and PyPy performance optimization in this comprehensive 57-minute EuroPython Conference talk. Gain insights into Python program compilation and execution, with a focus on PyPy's just-in-time compilation. Learn about the range of performance improvements achievable with PyPy, from slight enhancements over CPython to C-like speeds. Discover how to write and optimize code for PyPy, understand JIT compiler heuristics, and utilize performance analysis tools. Delve into topics such as premature optimization, specialization, tradeoffs, and PyPy-friendly coding practices. Examine compatibility layers, Windows support, garbage collection, and PyPy extensions. Acquire the knowledge to make informed decisions about replacing CPython with PyPy and optimizing Python code for maximum performance.

Syllabus

Intro
Premature optimization
What is performance like
Python performance
PiePy performance
Profiler
Optimization
Current releases
Speed
How it works
Specialization
Tradeoff
Friendly to PyPy
General advice
Compatibility layer
Optimize code
Windows support
FreeBusy
Can I just replace Python with PyPy
Garbage collector
PyPy extension
Time spent in PyPy
Time spent in user code
Python overhead

Taught by

EuroPython Conference

Reviews

Start your review of Python and PyPy Performance - Not for Dummies

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.