~/talk

Zero-Overhead Compiler Pessimization

Talkat CppCon 2018 · 2018-09-23..09-28· [rust]
links:none on file
slides:none on file

Shows that simple microbenchmarks vanish under optimization: the optimizer removes the increment and leaves only timing calls unless the code forces observable effects. Uses Compiler Explorer, standard clock calls and benchmark tricks from Google Facebook Celero as examples, and demonstrates adding a fake read/call so the increment survives between two calls to clock time. Result is concrete: getting reliable microbenchmarks is tricky and requires careful fences.

AI-written summary · about

~/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.