Mercari Mar 27, 2023

Android Developers Blog: Mercari reduces 355K lines of code, a 69% difference, by rebuilding with Jetpack Compose

Article Summary

Mercari just deleted 355,000 lines of code from their Android app. And it works better than ever.

When Mercari's 7-year-old codebase became a bottleneck for shipping features, they made a bold call: rewrite the entire Android app from scratch. They chose Jetpack Compose, Android's modern UI toolkit, for their complete rebuild across 130+ screens.

Key Takeaways

Critical Insight

Mercari's complete rewrite with Jetpack Compose resulted in 69% less code, 2x faster rendering, and a more maintainable codebase that ships features faster.

The team's approach to monitoring performance with Firebase and Macrobenchmark revealed optimization opportunities most teams miss.

Recent from Mercari

Related Articles