Overview
Syllabus
intro
preamble
whoami
let's talk about compilation
the "magic" in compiler magic
more magic? compiler optimizations!
some examples
"inlining" - another interesting optimization
but what if?
just have the right amount of inlining
but compilers don't know a lot
clearly, compilers need more info!
feedback-driven optimization fdo
early days of fdo - instrumentation-based
looks solid on paper, but is it really that good?
so what do we want? let's talk first principles
easy enough
profiling!
how does it work then?
enter profile-guided optimization - pgo
a very simpel server
but if you notice carefully
inlining could've been useful here
let's run and profile the program
we have all these files now
now, let's compule with pgo
let's load test the old and new binaries
let's compare the performances
demo
conclusion
slied and ssociated content
references - the real gs
let's connect
thanks for your time folks!
Taught by
Conf42