~/talk

Empirical Observations about Profile-Guided Optimizations for Mainstream C/C++ Compilers

Talkat LCTES 2026 · 2026-06-15..06-16· [compilers-and-language-design]
name:Soma Pal
links:none on file
links:none on file
slides:none on file

Empirical study compares GCC and Clang PGO on MiBench x86-64 using 27 programs, 20 inputs each and an instrumentation-based offline PGO workflow; each experiment runs 12 times and uses the NSA gRA disassembler to normalize and count function variants. Results: GCC averages +8% vs O3, Clang +4%; nonrepresentative profiles can hurt up to ~14%; same-profile is best only ~50% of cases and can be 2.7–3.1% worse than PGO-best; 5,854 functions analyzed with 87.9% showing ≤2 variants on LLVM.

AI-written summary · about

  1. 0:00Profile-guided optimizations intro
  2. 4:42Experimental setup
  3. 8:38Performance across compilers
  4. 10:27Ideal profile limits
  5. 11:33Profile tradeoffs
  6. 12:15GCC vs LLVM correlation
  7. 12:55Profile-induced code variance
  8. 15:03Control flow optimizations
  9. 16:32Small set best performance
  10. 17:36Summary and future work
  11. 18:45Q&A
~/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.