Glovo Nov 6, 2023

Accelerate Your Android Development: Essential Tips to Minimize Gradle Build Time (Part II of II)

Article Summary

Rolgalan from Glovo's Mobile Platform team reveals how they slashed Android build times through hardware and JVM tuning. Most teams are leaving massive performance gains on the table by ignoring these fundamentals.

This is Part II of a deep dive into Gradle build optimization, focusing on hardware configuration, JVM memory settings, and lesser-known tweaks. Glovo's team shares battle-tested strategies from optimizing builds for both CI/CD pipelines and local development across their mobile apps.

Key Takeaways

Critical Insight

Hardware specs (especially NVMe disks and core count) and JVM memory configuration are the most impactful optimizations after implementing caching and parallelization.

The article includes a surprising discovery about when G1 garbage collector outperforms ParallelGC, contradicting Android's official recommendations.

Recent from Glovo

Related Articles