YoVDO

Python Compiler Optimization: Improving Performance with -O3 Flag

Offered By: Hussein Nasser via YouTube

Tags

Python Courses Fedora Linux Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore how Fedora Linux is improving Python performance through compiler optimization in this informative video. Learn about the fundamentals of compiling and different optimization levels, including O1, O2, and O3. Discover how these optimizations affect Python's performance, with potential improvements of up to 1.16x in benchmark tests. Understand the trade-offs between performance gains and increased binary size. Follow along as the video breaks down each optimization level, from local register allocation and subexpression elimination to aggressive function inlining and SIMD instructions. Gain insights into the compilation process and its impact on Python's speed and efficiency.

Syllabus

Intro
Fedora Linux gets Fast Python
What is Compiling?
Compiling with No Optimization
Compiling with -O1
Compiling with -O2
Compiling with -O3
Showing Numbers


Taught by

Hussein Nasser

Related Courses

Artificial Intelligence for Robotics
Stanford University via Udacity
Intro to Computer Science
University of Virginia via Udacity
Design of Computer Programs
Stanford University via Udacity
Web Development
Udacity
Programming Languages
University of Virginia via Udacity