Reddit Sep 17, 2024

Snappy, Not Crappy: An Android Health & Performance Journey

Article Summary

Your Android app might be bleeding users before they even finish launching it. Performance isn't a feature anymore. It's table stakes.

This deep dive breaks down the essential strategies Android engineers use to keep apps snappy and responsive. From cold start optimization to thermal management, it covers the full spectrum of performance work that separates great apps from abandoned ones.

Key Takeaways

Critical Insight

Performance requires continuous profiling, real device testing, and monitoring across eight critical areas from memory management to thermal control.

The article reveals why Android Profiler should be your first stop when users complain about lag.

About This Article

Problem

Reddit's Android app had ballooned to over 50MB with features tightly woven together. CI times stretched to hours, and even small changes became risky and hard to test.

Solution

Lauren Darcey's team broke the app into feature modules, switched to pure Kotlin with Anvil for dependency injection, moved to GraphQL, and rebuilt it with Compose and a modern tech stack.

Impact

The app dropped below 50MB for the first time in three years. Unit test coverage jumped from 5% to 70%. CI times fell to 30 minutes at p90 and stayed there.

Recent from Reddit

Related Articles