~/talk

Improving Android Build performance

links:none on file

Uses real Chess.com builds and the Gradle profiler to measure scenarios, finds GC as high as 17s (8% of build), and shows upgrading Gradle/AGP and enabling the daemon cuts startup time. Demonstrates fixes: stop resolving dependencies during configuration, lazy task registration, move git/version work to the root to avoid repeated work, and pin Crashlytics ID to shave ~20s. Shows KAPT raising a 30s clean build to 50s, benefits of build scans, remote cache and parallel builds across 16 modules, and the new incremental annotation processing support.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:12Scientific method for profiling
  3. 2:55JVM tuning and build scans
  4. 4:59Build scan creation and benefits
  5. 6:23Startup and configuration time
  6. 9:51Avoiding task configuration
  7. 13:02Build logic and build source
  8. 14:26Execution time and incremental builds
  9. 17:15Compile avoidance and modularization
  10. 19:41Annotation processors and INCAP
  11. 21:29Caching and build cache
  12. 23:54Remote caching benefits
  13. 24:15Parallelism and task execution
  14. 26:02Gradle Enterprise for monitoring
  15. 28:31Resources and closing remarks
  16. 29:14Q&A session
~/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.