~/lightning

From Macro to Micro in C++

Lightningat CppCon 2024 · on Sunday, 2024-09-15· [observability]
links:none on file
slides:none on file

Real data shows repeated microsecond spikes traced to container resizing rather than vague "load" issues, backed by added timers and a perf profile that surfaces a rehash call deep in templates. The surprise is the exact bucket sequence: prime bucket sizes, e.g. 389 → 769 rehash that matches the boost::multi_index growth policy, and the diagnosis is concrete — expensive allocations and element rehashing at specific sizes cause the outliers, not algorithmic complexity elsewhere.

AI-written summary · about

  1. 0:00Intro
  2. 0:22Meet Conor
  3. 0:40Realtime metrics
  4. 1:08Graphs
  5. 2:27Prime Numbers
  6. 3:17Bucket Sizes
  7. 4:41Summary
~/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.