~/talk

Nail your Gradle build time

Talkat droidcon Berlin 2021 · 2021-10-20..10-22· [android, devops-and-delivery]
links:none on file
slides:none on file

Company with 20+ teams and hundreds of build hours weekly reduces Gradle time by measure every build, using a small build-listener plugin to record median incremental and P90 clean times, Gradle scans and Gradle Enterprise for profiling, and experiments like build-twice, nuke cache and remote-cache pulls. Modular rules and tiny API modules cut the longest-path; merging some modules shaves clean builds. Remote cache halves CI time but suffers from network and JDK mismatches; observed module cost ~400ms (now ~150ms) and ~60% faster incremental builds.

AI-written summary · about

  1. 0:00Introduction to Gradle build time
  2. 1:05Why build time matters
  3. 8:07Measuring build time metrics
  4. 13:30Modularization impact on builds
  5. 21:53Caching strategies for Gradle
  6. 27:51Experimentation and debugging builds
  7. 34:08Results and key learnings
  8. 38:59Q&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.