CppCon 2015: Chandler Carruth "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!"
CppConYouTube ↗
Further reading 1
Caption notes
Carruth follows a vector microbenchmark down to the generated instructions. If the compiler cannot observe the intended work, the timed loop may measure something quite different from the source-level operation.
Video or transcript source ↗Original passages · 2
micro benchmarks are when you're benchmarking some really isolated part of your systemIn my case the observable side effect is the benchmarking.