~/talk

Why Your Go Benchmarks Are Lying

Talkat GopherCon UK 2026 · 2026-08-12..08-13· [web-performance, observability]
slides:none on file

Claim: Go microbenchmarks often lie because compiler optimizations, scheduler noise and CI VM variability hide or remove the measured work. Practical fixes include running macrobenchmarks on bare metal, using benchstat and change‑point detection to validate distributions, disable SMT and DFS to cut variance (authors observe up to 10x differences), and verify inlining/dead‑code with GC flags and assembly. Tools built and shared include honestbench, benv and bench‑gate for PR gating; these systems run on dedicated hardware and successfully catch regressions before release.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Performance benchmarks matter
  3. 8:25Micro vs macrobenchmarks
  4. 15:15Local pitfalls and tricks
  5. 21:41Reliable macrobenchmarks
  6. 30:44Three benchmarking questions
  7. 41:31CI benchmarking
  8. 45:52Go’s benchmarking
  9. 49:07Tools and next steps
  10. 52:26Q&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.