~/talk

An Engineering Approach to Optimising C++

Talkat C++ on Sea 2023 · 2023-06-28..06-30· [c-and-cpp]
links:none on file
slides:none on file

Optimises the open-source Tracktion Engine by adding continuous benchmarking (Google Benchmark/Quickbench) run on GitHub Actions + cloud SQL to track wall-clock and CPU-cycle (rdtsc) metrics; shows compiler flags (O3, -ffast-math) yield ~4x SIMD gains and chrono vs rdtsc timing differences. Replaces an O(N) ID search with a monotonic allocator for a 100x speedup, uses reserve/ctor to get ~2x vector gains, and finds a runtime memory allocator reduces memory by ~40% but can slow real-time threads due to contention.

AI-written summary · about

  1. 0:00Introduction
  2. 1:27Engineering vs programming in C++
  3. 2:30Digital audio systems overview
  4. 5:40Benchmarking in C++ intro
  5. 8:52Wall clock vs CPU cycles
  6. 10:38Benchmarking system evolution
  7. 15:54Performance optimization tools
  8. 21:07Avoiding unnecessary work
  9. 23:57SIMD and algorithm changes
  10. 28:34Algorithmic complexity reduction
  11. 33:53Caching strategies
  12. 35:42Memory footprint reduction
  13. 37:26Multi-threading in audio
  14. 47:39Conclusion and key takeaways
~/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.