~/talk

Cache once and use everywhere

Talkat droidcon Italy 2022 · 2022-10-06..10-07· [developer-experience]
slides:none on file

Claim: enabling Gradle configuration cache and a shared remote Gradle build cache (or GCS-backed remote cache) cuts wasted compile time: configuration overhead remove 30s configuration time, CI unit-test verification drops from 20 to 3 minutes, and projects move from ~30% to 80–90% cache hit. Tools used: Gradle configuration cache, Gradle build cache, Google Cloud Storage plugin, Android cache-fix plugin and AGP 7 fixes for nondeterministic inputs. Built solution: remote cache + small Gradle script fixes; result: faster incremental builds and fewer rebuilds, with some tasks still excluded from remote caching.

AI-written summary · about

  1. 0:00Start
  2. 3:51Lifecycle of build Not every compile is equal
  3. 5:03Gradle task execution output Execution of task can be avoided
  4. 14:50Benefits of cache
  5. 18:03Cache miss
  6. 25:32Gradle remote cache server How can I use?
  7. 29:35Cache or not to Cache Is cache a Golden Hammer?
  8. 31:59Lifecycle of remote cache Download and zip could be slow
  9. 33:26Gradle build cache
~/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.