Boosting Your Code with Profile-Guided Optimization

Boosting Your Code with Profile-Guided Optimization

Conf42 via YouTube Direct link

preamble

2 of 34

2 of 34

preamble

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

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.