~/talk

Measuring the performance of CPython

Talkat PyCon US 2024 · 2024-05-15..05-23· [python]
links:none on file
slides:none on file

CPython performance is measured with the pyperformance benchmark suite (≈100 benchmarks), Linux perf sampling to attribute time to interpreter/memory/GC/library, and a GitHub Actions–backed continuous benchmarking on GitHub Actions fleet of bare‑metal runners. Recent work claims CPython 3.11 yields 20–60% speedups for some workloads, but typical noise is about ±1%, so CPU pinning, thermal control, warmup, hierarchical statistical tests, and donating representative benchmarks matter for trustworthy results.

AI-written summary · about

  1. 0:00CPython performance measurement
  2. 1:50Benchmarking essentials
  3. 3:35Benchmark types in Python
  4. 13:34Benchmarks reveal changes
  5. 19:38Reliable benchmarking stopwatch
  6. 29:46Continuous benchmarking
  7. 33:17Optimizing benchmarking process
  8. 42:26Q&A noise reduction
  9. 47:07Parallelism and free threading
~/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.