Beyond cProfile @ PyGotham 2019
Talk slides
You can find the slides for the talk here. I hope to have a prose version available soon as well.
Learn more
If you want to learn more about Python performance, you may also enjoy these articles:
-
Why your multiprocessing Pool is stuck (it’s full of sharks!)
-
Logging for scientific computing: debugging, performance, trust
-
Beyond cProfile: Choosing the right tool for performance optimization
-
Optimizing your code is not the same as parallelizing your code
-
CI for performance: Reliable benchmarking in noisy environments
-
Transgressive Programming: the magic of breaking abstractions
-
Cython, Rust, and more: choosing a language for Python extensions
-
Faster Python calculations with Numba: 2 lines of code, 13× speed-up
-
Faster, more memory-efficient Python JSON parsing with msgspec
-
CPUs, cloud VMs, and noisy neighbors: the limits of parallelism
-
Pandas vectorization: faster code, slower code, bloated memory
-
The limits of Python vectorization as a performance technique
-
The best way to find performance bottlenecks: observing production
-
Invasive procedures: Python affordances for performance measurement
-
Good old-fashioned code optimization never goes out of style
-
Who controls parallelism? A disagreement that leads to slower code
-
Let’s optimize! Running 15× faster with a situation-specific algorithm
You might also benefit from my guide to production-ready Docker packaging for Python.
Speed up your Python code and learn skills you can use at your job
Join over 8000 Python developers and data scientists learning practical tools and techniques every week, from Python performance to Docker packaging, by signing up for my newsletter.
Training
If you enjoyed my talk and would like your team to improve their skills so they can ship features faster, perhaps you could benefit from my training classes.