Python and PyPy Performance - Not for Dummies
Offered By: EuroPython Conference via YouTube
Course Description
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
Related Courses
Software as a ServiceUniversity of California, Berkeley via Coursera Software Testing
University of Utah via Udacity The Hardware/Software Interface
University of Washington via Coursera Software Debugging
Saarland University via Udacity Introduction to Systematic Program Design - Part 1
The University of British Columbia via Coursera