Overview
Explore the impact of Python's Global Interpreter Lock (GIL) on application performance in this 37-minute EuroPython Conference talk. Delve into methods and tools for analyzing GIL contention, learn to identify actual performance bottlenecks, and discover strategies for improving Python application efficiency. Gain insights on when to consider refactoring, switching concurrency paradigms, or exploring alternative solutions. Follow along as the speaker shares real-world experiences and practical approaches to optimize performance-sensitive components without resorting to premature rewrites or major refactoring.
Syllabus
Introduction
Task Execution Framework
Semantic Visualization
Dave Paisley
concurrency visualization
GIL load
Pies Buyer
Event Handlers
Example
CPU bound
Latency
GIL Disadvantage
The Plan
Observations
Timelines
SystemTap
Pookie
Simple fixes
Additional ideas
Taught by
EuroPython Conference