~/talk

Why is Python slow?

Talkat PyCon US 2020 · 2020-04-15..04-23· [python]
slides:none on file

CPython often shows concrete slowdowns on tight numeric loops: the n-body 7s vs 14min benchmark exposes the bytecode evaluation loop overhead. JITs win here — PyPy 650% faster on that workload — while V8 optimizes with SSA but at a memory cost — Node uses 4x memory for the same task. Measured tools include nbody, binary tree and TCP port scanner benchmarks; fixes discussed include Numba, PyPy, PGO, improved GC strategies and upcoming subinterpreters in 3.9/3.10.

AI-written summary · about

  1. 0:00Intro
  2. 0:54What is Python
  3. 1:14C vs Python
  4. 4:00Stack frames
  5. 4:47C compiler
  6. 7:38JIT compiler
  7. 9:03JIT optimizations
  8. 11:49JIT compilers
  9. 13:53Intermediate representations
  10. 18:32C Python
  11. 21:02Other tasks
  12. 22:45Stop everything garbage collector
  13. 25:44Chromium Engine
  14. 27:28CPU intensive tasks
  15. 30:07Summary
~/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.