~/talk

What's new in the Android Studio build system

Talkat Google I/O 2019 · 2019-05-07..05-09· [android, devops-and-delivery]
name:Leo Sei
links:none on file
slides:none on file

Build system work adds concrete wins: a new workers API converts ~90% of plugin tasks to side‑effect‑free work items to boost parallelism, artifact transforms gain caching and earlier scheduling for a 15% faster clean build on a 100‑module test, lazy task configuration cuts configured tasks from ~19,000 to ~3,000, incremental annotation processing and KAPT support reduce rebuilds, benchmarks show 50–80% faster for large projects and average 35% improvement, Instant‑style apply changes targets Android 8+, and a Chrome trace JSON profiler helps pinpoint slow tasks.

AI-written summary · about

  1. 0:00Intro
  2. 0:28Namespaced Resources
  3. 2:16Multi-threading in AGP
  4. 6:17Worker API
  5. 10:02Lazy Task Configuration
  6. 11:09Incremental annotations proc.
  7. 13:36Improved Sync
  8. 15:35Apply changes
  9. 17:22Internal benchmarks
  10. 19:47"Real life" build speed
  11. 20:58Example: Spotify
  12. 21:44Spotify (incremental)
  13. 23:33Speed attribution
  14. 24:09Configuration should be fast
  15. 30:27Caveats
  16. 31:39Free tools
  17. 34:58How to enable Chrome trace
~/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.