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

YouTube

Write Faster Python - Common Performance Anti Patterns

PyCon US via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk shows how to use profiling to measure application performance and identify regressions, then refactors common Python patterns to improve speed while preserving readability.

Syllabus

Intro
James Murphy talk
How to improve performance
Before you start
Profilers
Sampling profilers
My favourite profilers
Antipatterns
linter
Looping variants
List comprehension
Wrong types
Example
Reading the results
tuple iterator
unmutated collection
calling too many functions
a and b example
Utility library
Wrap up
Outro

Taught by

PyCon US

Reviews

Start your review of Write Faster Python - Common Performance Anti Patterns

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.