Getting Started with Build Metrics
summary
Shows how to measure real Android/Gradle build time using concrete tools: use Build Analyzer to see per-task percentages, run gradle-profiler with scenarios (clean, incremental, CPU/memory variants) to produce reproducible HTML reports, and add a custom Gradle task (hooked via afterEvaluate) that records start/end timestamps and posts results to Google Apps Script + Google Sheets. Explains that weekly logs can be very small (e.g., seven minutes) and that full builds skew averages, so using simple averages can be misleading for daily totals.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:22Build metrics purpose
- 4:37What is a build
- 7:05Analyze time with Build Analyzer
- 9:10Accurate measurement with Gradle Profiler
- 12:38Total daily build time
- 14:42Automate log collection with Google Apps Script
- 17:31Record build time with Gradle tasks
- 20:59Pitfalls of averages
- 21:41Summary and next steps








