• Technology
  • Tools

Find why your app is slow

Where to see what feels slow in your app, and how a developer finds the cause.

Before you start

The first steps are for the app’s owner and the last ones for its developer. You’ll need access to your app in Google Play Console, and your reviews and support emails.

An app can feel slow in four ways. It can be slow to open or stutter as you scroll. It can freeze after a tap or keep you waiting while something loads.

Step 1: Note where it feels slow

Read your reviews and support emails for the screens people call slow. For each one, note which of the four kinds it is. A note like “the search list stutters” helps a developer far more than “the app is slow”.

Step 2: Open Android vitals in Play Console

Android vitals shows how your Android app behaves for real users who agreed to share data. It needs no extra code.

Look first at the ANR rate. ANR means “app not responding”: the app didn’t react to a tap for five seconds. If more than 0.47% of daily users meet one, Play may show your app less often and warn people on its listing.

Then look at start-up time and slow rendering. Play counts a cold start as slow at 5 seconds or more.

Step 3: Hand the worst screen to your developer

Pick the screen most users reach that feels slowest. Give your developer your notes and what you found in Android vitals.

Step 4: Measure a release build

Test the version users get, not a debug build. React Native warns that its JavaScript runs much slower in development mode. Android says the same of debuggable builds.

A smooth screen draws each frame in about 16 milliseconds at 60 frames a second. A frame that takes longer is dropped and the user sees a stutter.

Step 5: Find the cause with the makers’ tools

For a React Native app, start with React Native DevTools. Since version 0.83 its Performance panel shows JavaScript work, React rendering and network requests on one timeline.

On iPhone, Xcode Instruments records launch with its App Launch template and finds hangs with its Hangs instrument. Most of Apple’s tools report a hang once the app stops responding for over 250 milliseconds.

On Android, the Android Studio Profiler shows where the app spends its time. Perfetto records the whole system and shows each slow or frozen frame.

Step 6: Check the usual causes

Look for these first. Each one is named in the makers’ own docs.

Long work on the main thread blocks drawing and taps. Apple says a hang is almost always the result of it.

A long list drawn all at once is slow. React Native’s ScrollView draws every item at once, while FlatList draws only the ones about to appear.

An image much bigger than the space it fills wastes time and memory. Android advises loading it at the size it shows on screen.

Step 7: Fix the worst, then measure again

Fix one cause at a time and measure the same screen again in a release build.

Google’s Firebase Performance Monitoring keeps watching after release. It records start-up time, screen rendering and network requests from real users. A developer adds it to the app once.

Checklist

Our call

We’d measure first, fix the worst problem and measure again before moving on. A fix that wasn’t measured may not have helped at all.

Suggested reads

Let’s build your vision

Tell us what you’re building, even if it’s still rough. We read all messages and come back within two working days.

Stay in the loop

Our new posts and a few changes we didn’t write about, once a month. Unsubscribe any time.

Sign-ups aren’t open yet.