~/talk

Artifact Transforms

Talkat droidcon San Francisco 2024 · 2024-06-06..06-07· [android]
speakerdeck:cdsap
slides:none on file

A Gradle/Android build often runs far more transformation work than tasks: an assembled debug can execute ~5,000 artifact transforms versus ~2,000 tasks, and the Kotlin and Android plugins register dozens of transform types. Investigations show a single dependency producing 11,000 classes and ~30 MB makes a single transform taking 2 minutes, removing that library cuts the task’s transform time by 50% and yields 15% overall build time reduction; a 321-module project shows transform explosion that disabling a Hilt test option trims by ~7%. Tools: Gradle, Android Gradle Plugin, Kotlin plugin, DevVelocity/Build Scans, Grafana.

AI-written summary · about

  1. 0:00Artifact Transforms intro
  2. 4:03Why transforms matter
  3. 10:54Custom transform creation
  4. 14:51Transforms in Android builds
  5. 23:18Optimizing builds with transforms
  6. 32:09Fingerprinting time and scans
  7. 34:19Dev Velocity API insights
  8. 36:45Analyzing transform performance
  9. 37:06Resources and closing
~/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.