~/talk

Making the Most Out of Your Compiler

Talkat CppCon 2021 · on Tuesday, 2021-10-26· at 15:15· online· [web-performance]
links:none on file
slides:none on file

Claims: switching compilers and build flags gives measurable wins. Tools: clang with thin LTO, PGO, and -O3 -flto or GCC equivalents; CPU targets like -march=haswell/sse4.2 and inline-threshold tuning. Numbers: Mozilla sees ~5–7% with clang+LTO+PGO, ClickHouse reports 7–10% faster queries and ~12% smaller binaries, Google reports typical 3–5% platform wins and 2–5% binary-size drops from trivial-ABI/unstable-API. What’s built and works: databases and search engines rebuilt with these flags and yielded stable, repeatable speed and size improvements.

AI-written summary · about

  1. 0:00Intro
  2. 1:04Trust your compiler
  3. 5:43The truth
  4. 8:37Visibility
  5. 15:54Optimizations
  6. 21:37Slope Vectorization
  7. 24:37Dash og
  8. 26:02bisect
  9. 27:43llvm
  10. 29:21Win forgotten story
  11. 33:37Architecture
  12. 36:17Native Architecture
  13. 37:37Micro Architecture
  14. 39:57Functional Lining
  15. 41:45Inline Threshold
  16. 45:32Always Inline
  17. 47:57Standard Library
  18. 50:51Charity
~/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.