~/talk

Python Performance Matters

Talkat Strange Loop 2022 · 2022-09-22..09-24· [python]
slides:none on file

Explains a concrete claim: Scalene is a CPU GPU and memory profiler that reports copy volume (MB/s), separates Python time from native and system time using interrupt-timing, and detects leaks with a sampled donut model. Shows numbers: past profilers slow programs by 2–300x, Scalene runs with ~1.2x–1.3x overhead for memory profiling and ~20–30% on average, spots a 250 MB/s copy hotspot and cuts a run from 30s to 23s. Defaults to ~1.5 MB sampling and handles threads and multiprocessing.

AI-written summary · about

  1. 0:00Start
  2. 1:38Metal Languages
  3. 7:03Moore's Law
  4. 7:27Dinard Scaling
  5. 8:43More Useful Profilers for Python
  6. 10:59Memory Profiler
  7. 11:55Profilers
  8. 14:42The Global Interpreter Lock
  9. 15:20Multi-Processing
  10. 16:30Python Is So Slow
  11. 18:39Copy Volume
  12. 19:43Gpu Profiling
  13. 23:07Execution Time
  14. 24:19Sampling Strategy
  15. 28:20Automatic Memory Leak Detection
  16. 30:09Random Sampling
  17. 31:42Why Is this Useful
  18. 32:16New Profiler for Python
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.