"The interface feels slow" is a useful signal but not a diagnosis. That phrase can hide very different problems: slow startup, dropped frames while scrolling, a one-second freeze after a tap, a slow server response, or a complete lack of response with a system ANR dialog. Each has its own causes, tools and fixes.
In our projects the first step is always to break "slowness" down into measurable metrics. Without that, the team argues about feelings and cannot prove after release that things improved. Below is what to measure, which thresholds the platforms define, how the Swiggy team tackled jank and how to build a process in which smoothness does not quietly degrade.
What to measure: a smoothness glossary
To discuss smoothness concretely, a team needs shared terminology with clear thresholds. Android Developers distinguishes three forms of jank depending on how long a frame takes to render.
| Metric | Threshold | How users experience it |
|---|---|---|
| Slow frame | 16 to 700 ms at 60 Hz | Stutter during scrolling and animations |
| Frozen frame | 700 ms to 5 s | The screen "freezes" during startup or a transition |
| ANR on Android | No response to input for more than 5 s | A system dialog offering to close the app |
| Hang on iOS | The main thread is unresponsive for 250 ms or longer | Taps do not register, the interface does not react |
Keep the display refresh rate in mind: at 60 Hz a frame has about 16 ms, at 90 Hz 11 ms, at 120 Hz 8 ms. An interface that was smooth on an old phone can stutter on a new high-refresh display. It is also worth tracking time to first frame and to interactivity, ANR rate and crash-free users, gesture response, and all of these by percentile, device and app version.
What the Swiggy team did
In the Swiggy case study on Android Developers, the team worked with Android DevRel in the second half of 2021 to reduce jank in the key "home, menu, cart" funnel, especially on mid- and low-end devices. They used Play Vitals to monitor launch and rendering, Firebase Crashlytics to catch crashes and non-fatal errors early, and Perfetto, gfxinfo, Android Studio Profiler and Layout Inspector to find heavy layouts and views that should move into ViewStubs.
The results reported in the case: reaching the home page and browsing restaurants improved by about 50%, bounce rate fell by about 28%, and additional revenue exceeded 11 million Indian rupees per month. In vitals terms, slow frames dropped by 58.97%, frozen frames by 19.66%, slow cold starts by 50.54% and slow warm starts by 51.59%.
A step-by-step diagnostic process
- Collect field data. Android vitals, Crashlytics, Firebase Performance Monitoring or JankStats on Android; Xcode Organizer and MetricKit on iOS. Identify which screens and devices suffer most.
- Reproduce the scenario. Use a release build, or at least a non-debuggable one: in debug mode ART disables some optimisations, and the picture will be distorted.
- Take a trace. Perfetto with FrameTimeline on Android; Instruments with Time Profiler and the hang and hitch instruments on iOS. Look for main-thread work: image decoding, disk reads, heavy computation, synchronous IPC calls.
- Fix the biggest source. Start with ANRs and frozen frames, as they are most noticeable, then move on to slow frames in lists.
- Automate measurement. Macrobenchmark with FrameTimingMetric for scrolling key lists on Android; XCTest performance metrics on iOS.
- Compare releases with the same matrix. Same devices, same scenarios, same data.
Typical causes of jank
- Redrawing the whole list instead of targeted updates (in RecyclerView, DiffUtil instead of notifyDataSetChanged).
- Images much larger than the area they are displayed in.
- Animating layout properties (padding, size) instead of transforms and alpha.
- Deeply nested layouts with multiple measure passes.
- Disk or network work on the main thread.
- Third-party SDKs doing work during scrolling.
- In Compose and SwiftUI, unnecessary recompositions or body re-evaluation caused by unstable data.
How not to fool yourself
Averages hide the tail of slow devices. If 95% of sessions are smooth and 5% have frozen frames on every transition, the average slow-frame share will look acceptable. That is why we look at p90 and p95 by device class, and separately at the screens that most affect conversion.
The second trap is the gap between the lab and reality. On a test bench the phone is cool, charged, free of background apps and has a clean cache. In real life it has heated up after navigation, runs in battery saver mode, has storage 90% full, and the system throttles the CPU. That is why we compare benchmark results with field data and, when they diverge, trust the field data and make the lab scenario harder: realistic data volumes and repeated passes.
A technical improvement should connect to a real user action, or the team ends up optimising a number nobody feels. Swiggy linked rendering metrics to time to interact and bounce rate; we examined a similar link between startup and retention in our piece on the Zomato case. Startup metrics are covered in our article on startup speed, and crash monitoring in the one on crash-free users.
Performance budget: a process checklist
Smoothness is a system property. It depends on layouts, images, data, animations and third-party SDKs, so the best process sets a regular performance budget instead of waiting for post-release complaints.
- A glossary of metrics and thresholds is agreed: slow frames, frozen frames, ANRs, hangs.
- Key screens have a budget: slow-frame share and maximum frame duration.
- Field data is reviewed weekly by percentile and device class.
- Scrolling of the main lists is checked by automated benchmarks in CI.
- Each release is compared with the previous one on the same device matrix.
- Performance improvements are linked to product metrics: conversion, bounce rate, retention.
Sources: Android Developers: Swiggy reduces jank; Android Developers: Slow rendering; Android Developers: ANRs; Apple: Improving app responsiveness.



