~/talk

Using Data-Oriented Design to Build Apps Better

TalkinFrenchat DevFest Toulouse 2018 · on Thursday, 2018-11-08· [frontend-architecture]
slides:none on file

Shows how Data-Oriented Design and memory-layout changes improve performance: measuring cache misses and hotspots with perf and flamegraph, the talk replaces pointer-heavy linked lists and JS objects with contiguous vectors/Structure-of-Arrays (Float32Array SoA) and demonstrates speedups (matrix traversal from ~2.3s to <1s, Node.js cases from ~31s to ~3–4s) plus techniques like core pinning and arena-style allocation.

AI-written summary · about

  1. 0:00Performance with DOD
  2. 1:04Row vs column iterations
  3. 3:14CPU cache impact
  4. 9:02Profiling with perf
  5. 12:14DOD principles
  6. 14:12Avoid pointer polymorphism
  7. 18:02Data structure optimization
  8. 19:50Reverse proxy optimization
  9. 22:36CPU pinning cache misses
  10. 24:20JavaScript DOD optimization
  11. 31:16Profiling with Node.js
  12. 34:30Optimization results
  13. 35:58Optimization tips
  14. 37:03SIMD virtualization
  15. 38:48TLB memory impact
  16. 39:09Further resources
~/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.