OSDI '23 - Triangulating Python Performance Issues with SCALENE
OSDI '23 - Triangulating Python Performance Issues with SCALENE Emery D. Berger, University of Massachusetts Amherst, Sam Stern, University of Massachusetts Amherst, Juan Altmayer Pizzorno, University of Massachusetts Amherst This paper proposes the Scalene Python profiler. Scalene precisely and simultaneously profiles CPU, memory, and GPU usage, all with low overhead. Scalene's CPU and memory profilers help Python programmers direct their optimization efforts by distinguishing between inefficient Python and efficient native execution time and memory usage. Scalene's memory profiler employs a novel sampling algorithm that lets it operate with low overhead yet high precision. It also incorporates a novel algorithm that automatically pinpoints memory leaks within Python or across the Python/native boundary. Scalene tracks a new metric called copy volume, which highlights costly copying operations that can occur when Python silently converts between native and Python data representations, or between CPU and GPU. Since its introduction, Scalene has been widely adopted, with over 675,000 downloads to date. We present experience reports from developers who used Scalene to achieve significant performance improvements and memory savings. View the full OSDI '23 program at https://www.usenix.org/conference/osd...

OSDI '23 - Relational Debugging --- Pinpointing Root Causes of Performance Problems

Measuring Multiple Facets of Python Performance With Scalene | Real Python Podcast #172

Why Python Is Removing The GIL

How I Would Learn Embedded Systems in 2026 | Complete Roadmap

"Python Performance Matters" by Emery Berger (Strange Loop 2022)

Optimising Code - Computerphile

Modern Approaches to Profiling in Python with Scalene

Scalene: a high-performance, high-precision CPU+GPU+memory profiler for Python (PyCon US 2021)

Guido van Rossum explains Python programming

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

The Satisfying Death of Stack Overflow

Talk - Anthony Shaw: Write faster Python! Common performance anti patterns

everything is open source if you know reverse engineering (hack with me!)

Can Mojo run Python code? | Chris Lattner and Lex Fridman

No Boss, No Money: The Raw Reality of China’s Gen-Z Freelancers

How I deleted 95% of my agent skills and got better results — Nick Nisi, WorkOS

I Hacked This Temu Router. What I Found Should Be Illegal.
![Learning at test time in LLMs [Jonas Hübotter]](https://i.ytimg.com/vi/vei7uf9wOxI/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLC4X5Qk-fHKIqpGJWumxBkhj_cbMg)
Learning at test time in LLMs [Jonas Hübotter]

Optimize Your Python Programs: Code Profiling with cProfile

