Simple Recipes to Enhance Developer Productivity
summary
Large monorepo of ~2 million lines and 294 modules with ~150 builds/day and 110 contributors reduces PR build time from ~68 to ~27 minutes — a 61% total win — by combining concrete steps: enable Gradle parallel and build cache, tune JVM heap (XMX/XMS heap sizing and max workers), remove unused/outdated dependencies and add automated updates, and fix CI: warm faster agents, cancel redundant commits, install a Jenkins build-avoidance plugin and parallelize CI stages and Gradle tasks.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:07Build time optimization
- 3:59Toast’s build scale
- 6:07Android build bottlenecks
- 8:16Parallel tasks and caching
- 10:44JVM memory config
- 16:27Gradle workers config
- 18:34Removing unused dependencies
- 23:09Remote bottlenecks and hardware
- 29:53Jenkins container and plugins
- 36:33CI scripts refactoring
- 39:08Results and tools
related talks
40mNail your Gradle build time
54mFrom Laptop Builds to Advanced CI
46mDeveloper Productivity at Scale
30mHow we brought down our build times. General optimization tips
36mDeveloper Productivity Engineering: What's in it for me?
51mCreate Elegant Builds At Scale With Gradle
41mPlugging Into the Gradle Matrix
35mHow we brought down our build times. Modularization impact on build speeds and metrics
