Duolingo Dec 18, 2024

How we sped up Android and iOS builds by 68% on CI

Article Summary

Duolingo's engineers were stuck waiting 50 minutes for every CI build. That's hundreds of hours wasted every week across the team.

The Test and Release Infrastructure team tackled this head-on, cutting Android and iOS build times by 68% through systematic experimentation. They tested everything from hardware upgrades to caching strategies, documenting what worked and what flopped.

Key Takeaways

Critical Insight

Build times dropped from 50 minutes to under 16 minutes, making developers noticeably happier and shipping faster.

They also share why XCRemoteCache failed spectacularly after months of effort, and the surprising lesson about why more CPU doesn't help Android builds.

Recent from Duolingo

Related Articles