~/talk

Design for Performance

Talkat CppCon 2018 · 2018-09-23..09-28· [c-and-cpp, web-performance]
links:none on file
slides:none on file

A practitioner recounts measured design wins: using Google Benchmark and GCC with AVX2 intrinsics to turn a textbook matrix–vector loop from ~3 GB/s equivalent into about 24 GB/s observed by hand-vectorizing 8-wide operations; shows indexed vs sequential memory, vector vs list layouts (vectors run ~4× faster here), and how API granularity, data layout and narrow contracts enable or block optimizations. Prototypes and profiling drive every choice, and isolated low‑level code succeeds when encapsulated.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:33Performance in EDA tools
  3. 7:12Design as software foundation
  4. 10:24Diving into code for performance
  5. 12:32Matrix-vector product benchmark
  6. 17:59Profiling and compute vs memory
  7. 21:57Vectorization and alignment
  8. 26:22Memory access speed insights
  9. 31:59Sequential vs random memory access
  10. 36:40Hot data vs hot code
  11. 40:39Data organization impact
  12. 43:08List vs vector performance test
  13. 51:15Restricting data access
  14. 53:23Prototyping for performance
  15. 54:30Narrow contracts and UB
  16. 57:49Key principles summary
  17. 59:25Q&A session
~/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.