~/talk

Dealing with performance analysis in C and C++

Talkat emBO++ 2018 · 2018-03-08..03-12· [c-and-cpp]
links:none on file
slides:none on file

Daily workflow uses perf and VTune to compare compiler builds and finds concrete regressions: a 15% slowdown from lost loop unrolling, a 10% loss when vectorized code turns scalar, and a surprising +48% throughput gain from re-aligning hot basic blocks. Root causes include missing -O3/-march optimizations, code placement and IDQ_UOPS_NOT_DELIVERED stalls, and instruction encoding differences (fused RMW vs load/inc/store). Microbenchmarks with a ubench-style loop confirm which change actually affects cycles.

AI-written summary · about

  1. 0:00Start
  2. 9:16Performance Regression
  3. 10:16Loop Unrolling
  4. 20:39X86 Architecture Details
  5. 24:02What Is Basic Block
  6. 37:40Cycles per Iteration
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.