Subject
2 entries
Profiling
Bookmarks
Scalene: High-Performance Python Profiler
Scalene is a high-performance Python profiler that measures CPU time, GPU time, and memory simultaneously with very low overhead — and attributes memory allocation and copy costs line-by-line. The best profiler for Python if you care about both speed and memory.
Speeding Up Your Python Code
Max Burstein's practical guide to Python performance — profiling-driven optimization covering list comprehensions, generators, local variable access, string concatenation, and C extension use. A good 2013-era reference for the pragmatic Python performance techniques.
