benchmark - RawIron/learn-cpp GitHub Wiki
CppCon 2015: Chandler Carruth "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!" https://youtu.be/nXaxk27zwlk
- uses Google's lib
https://github.com/google/benchmark
- compiler flags
-fno-omit-frame-pointer
- perf commands and options
perf stats
perf record -g
perf report -g "graph,0.5,caller"
perf report -g "graph,0.5,caller" ./<executable-with-google-lib> --filter-function <func-name>
- perf report commands
a
- magic functions