~/talk

The Basics of Profiling

Talkat CppCon 2021 · on Wednesday, 2021-10-27· at 10:30· online· [web-performance]
slides:none on file

Begins with a clear claim: profiling finds what is actually slow, not what feels slow. Demonstrates two profiler families, sampling vs instrumentation, and uses Optick and vTune on real game code. Shows concrete fixes for inefficient algorithms, unsuitable data structures, I/O waits and bad concurrency, and traces when micro‑work matters via low‑level metrics like cache misses and branch prediction. Includes reproducible scenarios, before/after measurements and examples that got fixed.

AI-written summary · about

  1. 0:00Introduction
  2. 3:10Overview
  3. 4:35Theory
  4. 10:05Optimization Profiling
  5. 11:15Sampling Profiling
  6. 14:45Instrumentation Profiling
  7. 19:00Impacts of Profiling
  8. 19:50Practice
  9. 22:20Instrumentation
  10. 24:50Questions
  11. 32:15Analysis
  12. 37:54Finding the needle
  13. 38:42Finding regressions
  14. 39:28Finding a bug
  15. 42:05Assessing the big picture
  16. 42:48Profiling metrics
  17. 43:30High CPU time
  18. 43:53Wait time
  19. 44:27Profile overview
  20. 48:34bottleneck analysis
  21. 49:07inefficient algorithm
  22. 51:00symptoms of inefficient algorithm
  23. 51:36efficient data structures
  24. 53:18spinlocks
  25. 53:51bottleneck
  26. 54:19micro optimization
  27. 55:10blocking
  28. 55:40bottlenecks
  29. 56:36conclusion
~/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.