~/talk

Optimizing Android Build Performance

links:none on file
links:none on file

Twitter instruments Android Studio 3.0 and Gradle features to cut build time: enable the Gradle daemon, use the build cache (local + CI remote) and incremental compilation with the Java library plugin, and profile with build scans and YourKit. Modularization grows from 54 to 115 modules and clean builds fall from ~5m to ~2.5m while incremental builds hit 13 seconds. Fixes raise remote cache hit rate from 70%→80%; annotation processors and absolute paths remain common cache killers.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 2:46Build performance challenges
  3. 8:24Gradle build improvements
  4. 11:11Build cache and parallelism
  5. 17:32Tools for understanding builds
  6. 22:31Debugging build issues
  7. 38:03Debugging Gradle and AGP
  8. 41:57Optimizing build parallelism
  9. 43:02Twitter build results and future work
  10. 46:59Q&A
~/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.