mediumAndroid Developers Blog·March 13, 2026

TikTok reduces code size by 58% and improves app performance for new features with Jetpack Compose

Posted by Ajesh R Pai, Developer Relations Engineer & Ben Trengrove, Developer Relations Engineer

TikTok is a global short-video platform known for its massive user base and innovative features. The team is constantly releasing updates, experiments, and new features for their users. Faced with the challenge of maintaining velocity while managing technical debt, the TikTok Android team turned to Jetpack Compose.

The team wanted to enable faster, higher-quality iteration of product requirements. By leveraging Compose, the team sought to improve engineering efficiency by writing less code and reducing cognitive load, while also achieving better performance and stability.

Streamlining complex UI to accelerate developer productivity

TikTok pages are often more complex than they appear, containing numerous layered conditional requirements. This complexity often resulted in difficult-to-maintain, sub-optimally structured View hierarchies and excessive View nesting, which caused performance degradation due to an increased number of measure passes.

Compose offered a direct solution to this structural problem.

Key Insights

1

TikTok reduced code size by 58% using Jetpack Compose migration

2

Modern Android development frameworks can significantly improve app performance while reducing technical debt

3

Large apps are prioritizing development velocity alongside performance optimization

TikTok reduces code size by 58% and improves app performance | ASO News