~/talk

Causal's 1000x Spreadsheet; Performance beyond profiling

Talkat GopherCon UK 2022 · 2022-08-16..08-18· [software-architecture]
slides:none on file

Engine moved from browser to Node then rewrote in Go, using go tool pprof, causal profiling (cause), sync.Pool and memoization to find high‑ROI fixes. Napkin math shows two billion‑cell operations hit memory bandwidth limits (8 GB per large variable, baseline ~700 ms), which drives a shift from hashmaps to struct‑of‑arrays and cache‑line packing. Microbenchmarks cut runtime from 6s to 0.5s, production reaches 150M cells, and CPU family changes (Ice Lake) yield ~30–50% speedups.

AI-written summary · about

  1. 0:00Start
  2. 8:42Profiling for fun and profit
  3. 11:10Causal profiling concurrent programs with coz
  4. 13:08Practice safe concurrency
~/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.