Posts on Medium Ishan Vohra

Ishan Vohra: Improve your Android App Performance by 10X with Compose Stability

Original post Improve your Android App Performance by 10X with Compose Stability

Article Summary

Your Jetpack Compose app might be recomposing 10X more than it needs to. The culprit? Stability.

Compose's smart recomposition system only works when it can detect stable parameters. When classes are marked unstable, even unchanged data triggers unnecessary recompositions that tank your performance.

Key Takeaways

Critical Insight

Fixing compose stability can reduce recompositions by 10X by letting Compose skip unchanged composables.

Continue reading

What This Article Covers

Problem

Android developers often can't figure out why their Compose apps recompose too often. Unstable classes quietly cause unnecessary UI updates, which slows down the app and drains the battery.

Solution

The Compose Compiler reports tool can find stability issues in your code. Once you find them, add @Immutable or @Stable annotations to your data classes so Compose can skip recomposing unchanged composables.

Impact

Fixing stability problems can cut recompositions by 10X. This lets Compose skip over composables that haven't changed, which makes apps noticeably faster.

The article reveals a surprising Kotlin feature that silently breaks stability in most codebases.

This page summarizes “Improve your Android App Performance by 10X with Compose Stability” by Ishan Vohra, published Nov 15, 2025. All credit for the original work goes to the authors.

Read the original on proandroiddev.com (opens in new tab)

AI tools for Android

Browse all AI tools →