~/talk

Clean code! Horrible performance?

Talkat Meeting C++ 2024 · 2024-11-14..11-16· [web-performance]
slides:none on file

Claim: clean code is rarely the root cause of catastrophic slowdown; the hard numbers and fixes matter. Cites Amdahl's law, examples where redundant startup/cleanup calls cause leaks, and a case of 15× traffic growth solved by operability work, network tuning and consolidating external requests rather than low‑level tricks. Notes business effects (Amazon: every 100 ms ≈ 1% sales loss; Google: 500 ms ≈ 20% traffic drop) and prescribes measuring hot paths, using batching external calls, and optimizing only proven bottlenecks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30Clean code and performance matter
  3. 2:35Defining clean code and quality
  4. 8:40High-quality software importance
  5. 10:08Software quality definitions
  6. 12:17Four pillars of quality
  7. 14:41Clean code improves quality
  8. 16:05Why C++ is widely used
  9. 19:16C++ evolution and economics
  10. 20:42Defining software performance
  11. 22:08Aspects of software performance
  12. 24:41Runtime performance explained
  13. 27:22Measuring runtime performance
  14. 29:10Other performance types
  15. 30:34Is clean code slower
  16. 32:19Clean code for maintainability
  17. 33:07Optimization trade-offs
  18. 36:04Performance vs clean code
  19. 37:29Performance cost examples
  20. 39:40Premature optimization fails
  21. 40:00Performance vs operability lesson
  22. 44:11Scaling without code optimization
  23. 45:16Operability and resource use
  24. 46:45Batching and caching
  25. 47:49Costly language features
  26. 49:33Optimize only hot path
  27. 50:14When to stop optimizing
  28. 51:42Good enough performance
  29. 52:26Hardware vs developer cost
  30. 54:18Clean code and performance
~/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.