~/talk

Squeezing the last drop of performance out of your Gradle builds (en)

Talkat Droidcon Paris 2015 · 2015-11-09..11-10· [android, devops-and-delivery]
speakerdeck:madisp
slides:none on file

Measurements show configuration overhead falls from 4.3s to 0.9s by enabling configure-on-demand and the Gradle daemon and updating to newer Gradle (2.8+); use the dry-run and --profile flags to find hotspots. Use Java 1.8, SSDs, avoid dynamic dependencies and expensive work during configuration. For large apps, pre-dex libraries and set minSdk 21 for native multidex to cut a 50s build to ~18s; try continuous builds, parallel project config or alternative tools (Buck) for bigger wins.

AI-written summary · about

  1. 0:00Intro
  2. 1:15Gradle Build Lifecycle
  3. 4:44Configure on Demand
  4. 5:57Gradle Daemon
  5. 7:33Gradle Version
  6. 9:33JVM Version
  7. 11:36Avoid Heavy Computation
  8. 13:16Dependencies
  9. 15:36Continuous Builds
  10. 17:56Task Graph
  11. 23:06Build Breakdown - Iosched
  12. 24:40Changing Values
  13. 26:39The Dexer
  14. 28:01The minSdk 21 Trick
  15. 30:38Really Large Projects
  16. 32:10Utilizing Predexing
  17. 33:20Multi-Project Builds
  18. 34:34Parallel Task Execution
  19. 35:51Incremental Javac
  20. 37:10The Future Looks Brighter
  21. 38:05Alternative Build Systems
  22. 39:02JRebel for Android
~/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.