Completed
but compilers don't know a lot
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Boosting Your Code with Profile-Guided Optimization
Automatically move to the next video in the Classroom when playback concludes
- 1 intro
- 2 preamble
- 3 whoami
- 4 let's talk about compilation
- 5 the "magic" in compiler magic
- 6 more magic? compiler optimizations!
- 7 some examples
- 8 "inlining" - another interesting optimization
- 9 but what if?
- 10 just have the right amount of inlining
- 11 but compilers don't know a lot
- 12 clearly, compilers need more info!
- 13 feedback-driven optimization fdo
- 14 early days of fdo - instrumentation-based
- 15 looks solid on paper, but is it really that good?
- 16 so what do we want? let's talk first principles
- 17 easy enough
- 18 profiling!
- 19 how does it work then?
- 20 enter profile-guided optimization - pgo
- 21 a very simpel server
- 22 but if you notice carefully
- 23 inlining could've been useful here
- 24 let's run and profile the program
- 25 we have all these files now
- 26 now, let's compule with pgo
- 27 let's load test the old and new binaries
- 28 let's compare the performances
- 29 demo
- 30 conclusion
- 31 slied and ssociated content
- 32 references - the real gs
- 33 let's connect
- 34 thanks for your time folks!