Reddit's Android app developers used Baseline Profiles, R8 compiler, and Jetpack Compose to improve app performance and the user experience for existing and new users.
The Reddit app developers used Baseline Profiles to build screen-specific performance metrics for critical user journeys like scrolling the home feed, logging in, launching the full-screen video player, navigating between subreddits and scrolling their feeds, and using the chat feature to improve metrics and enhance user experience.
Early benchmarks after using Baseline Profiles for the first time for feeds showed a 51% improvement in median startup time and a 36% reduction in frozen frames' 95th percentile for the home feed.
Additionally, the upgrade to R8 full mode led to an increase in Google Play average ratings, and R8 full mode also reduced total application-not-responding errors by almost 30%.
After upgrading to the September 2024 release of Jetpack Compose, Reddit saw significant performance gains across the board. Cold start times improved by 13%, excessive slow frames decreased by 25%, and frozen frames dropped by 10%.
Further optimizations were made using Jetpack Compose, which supported the adoption of the technology stack and enabled the teams to fix bugs quickly and improve overall app stability.
The app saw 15% scroll performance improvements, widespread enhancements across lower-end devices and emerging markets, slow cold start improvements of 20%, a 10% reduction in excessive frozen frames and a 30% reduction in excessive slow frames.
Jetpack Compose also drove improvements in both slow and frozen frame rates for the home feed, and scrolling performance improved visibly according to internal reviews.
Overall, Reddit app developers using Baseline Profiles, R8 compiler, and Jetpack Compose have elevated the user experience by refining and optimizing the app with performance improvements.
These performance improvements will be extended to other critical user journeys like Reddit’s post and comment experiences.