~/talk

Profile-Guided Optimization in the Go Compiler

Talkat GopherCon 2022 · 2022-09-26..09-28· [compilers-and-language-design]
name:Jin Lin
links:none on file
slides:none on file

Adds end-to-end Profile-Guided Optimization to the Go toolchain by ingesting pprof protobuf format profiles in the frontend, carrying weights through SSA, and applying profile-guided inlining, code specialization, basic-block layout and function reordering in the backend and linker. Benchmarks show concrete wins—about 10% improvement in microbenchmarks where previously-uninlined hot callees become inlineable—while LLVM-style gains are cited at 15–30%. The inlining patch is upstream at https://go-review.googlesource.com/c/go/+/429863.

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.