~/talk

The performance loop—A practical guide to profiling and benchmarking

Talkat NDC Oslo 2024 · 2024-06-10..06-14· [devops-and-delivery, observability]
slides:none on file

Concrete recipe for measuring and improving runtime: extract the pipeline into a small harness, run BenchmarkDotNet short runs then full runs, and capture CPU and memory snapshots with dotTrace (or perfview/perf). Replacing IO with Task.CompletedTask and trimming DI noise yields repeatable benchmarks; changes reported: removed ~20MB behavior-chain allocations, cut publisher CPU by 32.3% and receiver CPU by ~14%, and overall receive allocations from 653MB to 596MB. Use result-compare in CI to fail on regressions and prefer focused, repeatable permutations.

AI-written summary · about

  1. 0:00Welcome
  2. 7:08Why optimizations matter
  3. 12:29Performance loop framework
  4. 20:53Profiling with tools
  5. 35:21Code improvements
  6. 41:23BenchmarkDotNet
  7. 53:18Validating in production
  8. 59:34Regression prevention in CI/CD
  9. 1:01:21Closing and 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.