~/talk

The Build Shrugged

Talkat Droidcon Vietnam 2019 · 2019-08-01..08-04· [android, devops-and-delivery]
speakerdeck:cdsap
slides:none on file

Explains how Android builds actually work: Gradle lifecycle (initialization, configuration, execution) and concrete tools like Gradle TestKit for end-to-end build tests, build scan and Gradle Enterprise for aggregated metrics, Bazel as an alternative, and Chrome tracing JSON for line‑level profiling. Gives baselines (startup <1s, configuration ~0.5s per module, GC ideally <1–2% of build time), shows lazy tasks cutting 18,000 to ~700 tasks in a 100‑module example, and ships a custom publisher to send build timings to Influx/Prometheus. Recommends remote caching, worker API and incremental compilation.

AI-written summary · about

  1. 0:00Introduction and title meaning
  2. 1:24Importance of build systems
  3. 3:54Build systems vs build tools
  4. 4:36Directed acyclic graphs in builds
  5. 5:40Complexity of real build systems
  6. 6:22Key features of good build systems
  7. 7:27Basel: Google's scalable build system
  8. 9:58Gradle evolution and adoption
  9. 10:59Gradle stack and mental model
  10. 13:27Gradle lifecycle phases
  11. 14:56Gradle configuration phase details
  12. 16:20Build sources and best practices
  13. 17:45Build scripts as code
  14. 18:29Testing build scripts
  15. 19:52Project builder for integration tests
  16. 20:55Gradle test kit for end-to-end tests
  17. 22:40Testing Gradle plugins
  18. 24:25Importance of measuring builds
  19. 25:07Build scan for performance analysis
  20. 26:53Lazy tasks and performance
  21. 27:55Garbage collector time impact
  22. 28:38Gradle Enterprise for teams
  23. 29:41Custom build instrumentation library
  24. 30:46Gradle Tracer for deep analysis
  25. 31:52Chrome tracing tool usage
  26. 32:54Performance insights with Tracer
  27. 33:58Worker API for parallel tasks
  28. 34:40Modernization and modularization
  29. 35:43Caching strategies for builds
  30. 36:06Lazy API and task avoidance
  31. 36:26Testing and iteration in builds
  32. 37:11Q&A and closing remarks
~/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.