# mobile-app-performance

Published articles for mobile-app-performance.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Enhancing Myntra App performance: Transitioning from GIFs to Videos

DevFeed: [Enhancing Myntra App performance: Transitioning from GIFs to Videos](<https://devfeed.tech/articles/enhancing-myntra-app-performance-transitioning-from-gifs-to-videos-20135.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/enhancing-myntra-app-performance-transitioning-from-gifs-to-videos-2aa275a29c34?source=rss----7484818e9f88---4>)

Author: Kartik Sharma

Published: 2025-08-30T07:00:01Z

Content type: article

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [mobile-app-performance](<https://devfeed.tech/topics/mobile-app-performance.md>), [gif](<https://devfeed.tech/topics/gif.md>), [Image](<https://devfeed.tech/topics/image.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [animations](<https://devfeed.tech/tags/animations.md>), [app-performance](<https://devfeed.tech/tags/app-performance.md>), [e-commerce](<https://devfeed.tech/tags/e-commerce.md>), [gif](<https://devfeed.tech/tags/gif.md>), [gifs](<https://devfeed.tech/tags/gifs.md>), [ios](<https://devfeed.tech/tags/ios.md>), [mobile-app-performance](<https://devfeed.tech/tags/mobile-app-performance.md>), [videos](<https://devfeed.tech/tags/videos.md>)

### AI overview

Myntra says GIF animations in its Android and iOS home and brand page widgets caused high memory use and out-of-memory errors on low-end devices, poor visual quality, and large files that increased network load and loading times. Asset optimization and ingestion file-size limits were temporary mitigations. The excerpt compares alternatives: WebP offers better compression and quality, is native on Android, and is natively supported on iOS 14 and later; APNG offers strong image quality and browser support and is native on iOS, but Android needs a third-party library and APNG can produce larger files. H.264/HLS video is described as offering strong compression and quality with broad platform support, especially for longer animated content, but it requires a video player. The excerpt does not show the remainder of Myntra's evaluation or implementation details.

### Source excerpt

Introduction In the fast-paced world of e-commerce, every millisecond and every pixel counts. At Myntra, where visual content drives discovery and engagement, we embarked on a critical mission: to revolutionise how animations are delivered in our Android and iOS apps. This journey led us to transition from the ubiquitous GIF format to more efficient video formats, unlocking significant performance gains and a superior user experience. Background on GIFs The Graphics Interchange Format (GIF) has been a widely-used format for looping animations since its introduction in 1987. Its simplicity and broad compatibility made it a go-to choice in mobile apps. However, despite its ubiquity, GIFs come with several drawbacks that can negatively impact app performance and user experience. Challenges with GIFs in Myntra App At Myntra, we used GIFs extensively for animations in our home and brand page's widgets. Our existing Image components provided easy GIF playback. However, GIFs came with some serious drawbacks in native mobile environments: High Memory Usage: GIFs often lead to Out of Memory (OOM) errors, especially on low-end devices. Low Quality: Limited frame rates and poor bitmap quality degraded the visual experience. Large File Sizes: GIF assets were large, increasing network load and loading times. To mitigate these issues temporarily, we implemented several workarounds. These included optimising GIF assets and imposing restrictions on the file size of GIFs during the ingestion process. However, these were interim solutions and the move to an alternate was necessary for a more permanent and effective fix. Exploring Alternatives Before settling on a solution, we explored several alternatives to GIFs: WebP: This format offers better compression and quality than GIFs. It has broad web support and is native on Android, but is only supported natively on iOS versions 14 and above. APNG (Animated PNG): APNG provides excellent image quality and strong web browser support. Howe

## From Snail to Sonic: How Baseline Profiles Supercharged Meetup's Android App

DevFeed: [From Snail to Sonic: How Baseline Profiles Supercharged Meetup's Android App](<https://devfeed.tech/articles/from-snail-to-sonic-how-baseline-profiles-supercharged-meetup-s-android-app-23969.md>)

Original publisher: [Read original article](<https://medium.com/making-meetup/from-snail-to-sonic-how-baseline-profiles-supercharged-meetups-android-app-3a2f0670052e?source=rss----6981e268ba45---4>)

Author: Colin Lee

Published: 2023-07-19T19:26:13Z

Content type: article

Language: en

Sources: [Making Meetup - Medium](<https://devfeed.tech/sources/making-meetup-medium.md>)

Topics: [app startup](<https://devfeed.tech/topics/app-startup.md>), [mobile-app-performance](<https://devfeed.tech/topics/mobile-app-performance.md>), [Android](<https://devfeed.tech/topics/android.md>)

Tags: [2022](<https://devfeed.tech/tags/2022.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-apps](<https://devfeed.tech/tags/android-apps.md>), [app](<https://devfeed.tech/tags/app.md>), [app-development](<https://devfeed.tech/tags/app-development.md>), [app-performance](<https://devfeed.tech/tags/app-performance.md>), [app-startup](<https://devfeed.tech/tags/app-startup.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [business](<https://devfeed.tech/tags/business.md>), [compile](<https://devfeed.tech/tags/compile.md>), [google](<https://devfeed.tech/tags/google.md>), [google-i-o](<https://devfeed.tech/tags/google-i-o.md>), [java](<https://devfeed.tech/tags/java.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [meetup](<https://devfeed.tech/tags/meetup.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [mobile-app](<https://devfeed.tech/tags/mobile-app.md>), [mobile-app-development](<https://devfeed.tech/tags/mobile-app-development.md>), [mobile-app-performance](<https://devfeed.tech/tags/mobile-app-performance.md>), [optimizations](<https://devfeed.tech/tags/optimizations.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pixel](<https://devfeed.tech/tags/pixel.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>)

### AI overview

Meetup reports that baseline profiles reduced best-case cold startup time for its main Android app on a Pixel 3 from 970 ms to 620 ms, a 36% improvement. The profiles let the JVM precompile functions before they are needed, and the author says adding them required little code. The result is a performance benchmark, not evidence of higher conversion, retention, or revenue: Meetup's startup was already relatively fast and not considered a problem area. The author presents it as an easy first step and says future work would test other screens and use an A/B test to measure business impact.

### Source excerpt

As consumers, we've all been there -- you download a new app, launch it for the first time, and are frustrated by how long it takes to start up. If an app is sluggish at first launch, it leaves a bad first impression that's hard to overcome. At Meetup, we realized having slower apps was likely costing us users and revenue. So we implemented a simple change that cut our app's startup time by 36%, delivering a smoother experience that helps us to convert and retain users. And -- we did it without even writing much code. The Meetup mobile app, which now uses baseline profiles to start up to 36% faster Here's how we did it. Google recently introduced a technology called baseline profiles that optimizes Android apps for faster launch times. It allows the Java Virtual Machine (JVM) to pre-compile functions so they're ready before they're needed. As soon as it was announced at Google I/O 2022, I began adding baseline profiles to Meetup's Android apps. Recently, I conducted a benchmark test to measure the impact. The results were astounding. We integrated baseline profiles into our main Meetup Android app and saw best case cold app startup times on a Pixel 3 drop from 970ms to 620ms -- a 36% improvement. For app performance, a 36% improvement is remarkable. On a large refactoring initiative at a previous company, we were only able to achieve a 10% improvement in performance. Easy performance wins like baseline profiles don't come across your desk every day. This is what a baseline profile actually looks like before it is converted into binary For a more detailed understanding of baseline profiles, I recommend watching the Google video below. The takeaway for any mobile app business is clear. Your app startup experience shapes lasting first impressions. Is your app fast and friction-less or sluggish and buggy? Investing in performance optimizations like baseline profiles can deliver a big competitive advantage by creating smoother first-time user experiences. The result is high

## How we reduced our ANR by three times

DevFeed: [How we reduced our ANR by three times](<https://devfeed.tech/articles/how-we-reduced-our-anr-by-three-times-37402.md>)

Original publisher: [Read original article](<https://medium.com/okcredit/how-we-reduced-our-anr-by-three-times-d9ae0b41ad94?source=rss----40ea5327aac7---4>)

Author: Anjal Saneen

Published: 2022-05-24T05:19:21Z

Content type: article

Language: en

Sources: [OkCredit](<https://devfeed.tech/sources/okcredit-medium.md>)

Topics: [mobile-app-performance](<https://devfeed.tech/topics/mobile-app-performance.md>), [Android](<https://devfeed.tech/topics/android.md>), [app startup](<https://devfeed.tech/topics/app-startup.md>), [digital experience monitoring](<https://devfeed.tech/topics/digital-experience-monitoring.md>), [aosp](<https://devfeed.tech/topics/aosp.md>), [code analysis](<https://devfeed.tech/topics/code-analysis.md>), [locking](<https://devfeed.tech/topics/locking.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [anr](<https://devfeed.tech/tags/anr.md>), [background](<https://devfeed.tech/tags/background.md>), [case-study](<https://devfeed.tech/tags/case-study.md>), [challenges](<https://devfeed.tech/tags/challenges.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [google-i-o](<https://devfeed.tech/tags/google-i-o.md>), [input](<https://devfeed.tech/tags/input.md>), [mobile-app-performance](<https://devfeed.tech/tags/mobile-app-performance.md>), [okcredit](<https://devfeed.tech/tags/okcredit.md>), [performance](<https://devfeed.tech/tags/performance.md>), [production](<https://devfeed.tech/tags/production.md>), [source-code](<https://devfeed.tech/tags/source-code.md>), [stack](<https://devfeed.tech/tags/stack.md>), [startup](<https://devfeed.tech/tags/startup.md>), [what-is](<https://devfeed.tech/tags/what-is.md>)

### AI overview

The article links Android ANRs to stalled input handling, slow background startup, main-thread work, lock contention, SharedPreferences writes, and garbage-collection waits. It explains that ANRs are hard to diagnose in production: Play Console traces can be delayed, missing, or poorly grouped, while Firebase exposes exit traces only on Android 11+ and supports breadcrumbs. The authors use an ANR watchdog to capture main-thread stalls and recommend profiling cold startup, keeping heavy work off the main thread, and examining blocked-thread traces for locks. In their app, optimizing startup helped address background service and broadcast timeouts; they also moved SharedPreferences commits to a background thread and used LeakCanary to investigate memory issues. They report a 0.03% Play vitals ANR metric and continued difficulty resolving all cases. The opening separately claims a 60% ANR improvement and 70% cold-start improvement.

### Source excerpt

App not responding is one of the most frustrating experiences for users. The user is stuck with an app that is hung and must terminate it. It is ridiculously difficult to observe and fix ANR for the android app in production due to their indeterministic nature. After studying stack traces of ANR, we were able to improve ANR by 60%, as well as cold startup performance by 70%. We've also been featured on Google I/O and the Android developer's blog has covered our ANR case study. The goal of this blog post is to discuss our learnings about ANR, challenges around solving ANR, how we track ANRs, an analysis of the source code of ANR generation, and some interesting ANRs that we found and how we resolved them. What is ANR A certain period of time needs to be allowed for the Android system to process events. As soon as the processing times out, an ANR dialogue appears, allowing the user to choose to wait or terminate the application immediately. To discover ANR, Android implements a set of sophisticated mechanisms at the system level. ANR can be classified into various categories. According to the background/foreground of the App, each category has a different timeout. InputDispatching Timeout(5s): A major reason for this is that the button or input event does not respond within a specific period of time. On Android, the timeout is set at 5 seconds by default. Broadcast Timeout (10s): If the broadcast receiver fails to complete its processing within the specified time, the broadcast timeout message is reported (foreground timeout is 10 seconds, background timeout is 60 seconds). Service Timeout (20s): The service does not complete the processing within the specified timeframe (foreground timeout is 20 seconds, background timeout is 200 seconds). User experience is directly affected by ANR since it forces the user to stop using the application through an automated dialogue. However, in the background, this dialogue will not be shown to the user, instead, the app is silently