Squeezing out the last 5% of performance: AGDE, profile-guided optimization, and automation
summary
AGDE adds instrumented PGO to Visual Studio for Android, promising around a 5% CPU win (sometimes more) by compiling counters, merging profiles from multiple runs, and improving branch layout, inlining, and code locality; AddressSanitizer and Hardware ASan are supported (ASan can double runtime cost, HWASan needs a special OS build); recommended is an input recording / semideterministic replay system for collecting coverage, CI-driven profile merges, device farm testing (Firebase), and QA multiplexing so one tester’s recording runs across many devices to catch regressions.
AI-written summary · about
chapters (10)
- 0:00Introduction to AGDE
- 1:08AGDE features and updates
- 3:30Debugging and monitoring
- 4:48Profile guided optimization
- 7:27How Pogo works
- 10:22Pogo benefits
- 12:57Input recording system
- 16:00Replay best practices
- 18:02Automation benefits
- 22:58Q&A session
related talks
50mAdvanced Development and Debugging for Android/iOS
38mLow effort, High impact Android performance wins
35mIn Search of Performance: the Subtle Art of Android Profiling
34mWhat's new in Android development tools
55mCompilers. Dalvik. ART. And everything in between
07mAccurately measure app performance with profileable builds
38mOptimize your app performance for the next generation of Android
40mImproving Android Build Performance
