~/talk

Plenary: Performance Matters

Talkat CppCon 2020 · 2020-09-14..09-18· [c-and-cpp]
links:none on file
slides:none on file

Shows that CPU layout noise can swamp compiler gains: repeated LLVM layout randomization (Stabilizer) plus ANOVA finds -O2 vs -O3 indistinguishable from noise, so relying on optimizers is brittle. Introduces causal profiling with virtual speedups (Coz) that marks progress points, slows competitors to simulate speeding a target, and predicts real end-to-end impact. Uses this to find tiny edits that quickly improve real apps — Memcached +9%, SQLite +25%, six others up to +68% — often changing <10 lines and taking under 30 minutes. Coz ships in standard Linux distros.

AI-written summary · about

  1. 0:00Introduction to performance
  2. 7:28End of automatic speedups
  3. 11:17Why performance analysis is hard
  4. 23:40Eliminating layout bias
  5. 33:10Testing compiler optimizations
  6. 40:20Limitations of traditional profilers
  7. 46:21Introducing causal profiling
  8. 56:49Unexpected optimization opportunities
  9. 1:00:20Conclusion and Q&A
~/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.