Why is my app slow? How to find the cause before you fix it

Slow app? Tell slow to open, choppy and slow to load apart, read what the stores already report, and ask your team the questions that find the cause.

· 10 min read

Customers say your app takes forever to open. Or it stutters when they scroll. Or they wait on a spinner after every tap. Your developer says “we will optimize it”, and nobody can say what will be optimized, or how you will know it worked. “Slow” is a symptom with at least three different causes, and each one has a different fix. Finding out which one you have is the first job, and you can start it without reading any code.

In short

  • ”Slow” means one of three things. The app is slow to open, choppy to use, or slow to load what you asked for. Each has its own cause and its own fix, so name the one your customers describe before anyone changes anything.
  • Both stores already measure it. Apple’s Xcode Organizer shows launch time, hangs and hitches by version and device. Android vitals in Play Console tracks startup and slow screens. Start with those, before you buy a tool.
  • The question that narrows it fastest is where the time goes. On the phone, on the network or on your server. Compare the same screen on a new phone, on an older phone, on a good connection and on a weak one.
  • Fix one slow moment, measure it, then move to the next. A fix with no before and after number is a guess, and a team that changes ten things at once cannot tell which one helped.

Three kinds of slow

When someone says “the app is slow”, ask them to show you the moment. It nearly always belongs to one of these:

Three kinds of slow, each with what customers say and what to check. Slow to open: the time between tapping the icon and the first screen, so check launch time in the store reports. Choppy to use: scrolling and animations that stutter or freeze, so check hitches and slow frames. Slow to load: a spinner after you ask for something, so check the server and the network.
Name the kind of slow first. The fix follows from it.

Slow to open

The wait between tapping the icon and seeing the first screen. Apple’s documentation describes launch as the time before the first screen is drawn. Android’s vitals measure the same moment, which it calls time to initial display. The usual cause is that the app does too much work before it shows anything: loading settings, starting a dozen add-on libraries, asking the server for data it does not need yet. Apple’s own advice is to do only what the first screen needs and defer the rest.

Choppy to use

The app opens fine, then stutters when you scroll a list or switch screens. Apple calls an animation interruption a hitch, and a stretch where the app does not respond a hang. Android calls a slow screen draw jank. The cause is almost always work done at the wrong moment: a long list drawn all at once, a large image resized while you scroll, a calculation that blocks the screen while it runs.

Slow to load

The screen appears quickly, then you wait on a spinner. The app is waiting for something: the server, the network, a payment provider, a search. This one is not about the phone at all, and a new phone will not fix it.

A product can have more than one. Keep them in separate piles, because one fix for “slow” that mixes them tends to improve nothing you can measure.

Start with what your customers say, then check what the stores know

Before anyone opens a profiler, collect three things you already have.

  1. Reviews. Sort the ones that mention speed by version and by what they describe. We explain how in how to analyze app store reviews. “Takes ages to open” and “it stutters when you scroll” point to different piles.
  2. Store reports. Both stores collect performance data for you. Your reports from the stores are the closest thing to what real customers on real phones experience.
  3. A recent change. If the slowness began with a release, the list of changes in that release is short enough for a developer to read.

On Apple’s side

Apple’s guide to launch time (opens in a new tab) says the Launch Time pane in the Xcode Organizer shows the time between the customer tapping your icon and your first screen being drawn. You can filter it by device, and it separates the typical launch from the longest ones. Apple’s page on responsiveness in a shipping app (opens in a new tab) describes two more panes: the hang rate, which counts the time the app is unresponsive, and the hitch rate, which tracks interruptions to scrolling, transitions and other animation. Hang reports group the causes, and Apple says the system collects this from a statistical sample of users who agreed to share diagnostics.

On Google’s side

Google’s startup documentation for Android vitals (opens in a new tab) says Play Console can alert you when startup times are excessive, and it separates a cold start, a warm start and a hot start. Google’s page on slow rendering (opens in a new tab) explains that a screen which stutters is slow, one that stops for a moment is worse, and one that stops responding is the worst. It also tells teams to deal with the worst kind first.

What these numbers miss

Two limits are worth knowing before you trust a figure.

  • The launch number stops at the first screen. Apple says that if the app still has work to do after its first screen is drawn, that time does not count in the launch metric, even though the customer is still waiting. Android says the same about its first-display measure: the time until the app is fully usable is reported only if the app is built to report it. So the dashboard can look fine while customers still wait on a loading icon. Ask for the time to a usable screen, not only the first one.
  • The reports are a sample. Apple says its data comes from a statistical sample of users who agreed to share diagnostics. A single screen with a problem can hide inside a good average. If the reports and the reviews disagree, treat the reviews as a pointer and check the screen by hand.

If crashes are also on your list, how to read app crash reports covers the same reports from the other side.

Where the time goes: phone, network or server

For “slow to load” and sometimes for “choppy”, one question decides where to look: is the time spent on the phone, on the way, or on your server?

A slow screen split into three places where time goes: the phone, the network and your server. Below, four tests. Slow on every phone and every connection points to the server. Slow only on older phones points to the work on the phone. Slow only on weak connections points to how much data is sent. Slow only at busy hours points to a server that runs out of room.
Compare the same screen in different conditions to find which part to look at.

You can run this test with two phones and a way to change the connection:

  • Slow on every phone, good connection included. Look at the server: a slow query, a heavy report, a request that waits for another service before it answers.
  • Slow only on older phones. The phone is doing too much: drawing too many items, handling images larger than the screen needs, or running work on the thread that draws the screen. Android’s documentation says a bitmap much bigger than the area it fills wastes upload time and memory, and tells teams to request an image of the right size.
  • Slow only on a weak connection. The app asks for too much data, asks too often, or has no way to show something useful while it waits. Wherever connections drop, this decides how the whole product feels, and we cover it in mobile app development in Lebanon.
  • Slow only at certain times of day. Something on the server runs out of room when many people are using it, and the app on its own is not at fault.

Ask your team for the answer in this form: which screen, on which phone, in which conditions, and how long. If they cannot give you one line for one screen, they have not measured it yet.

What usually slows an app down

Teams who have not measured tend to start with the thing they suspect. These are the usual causes, and each one shows up in the tests above.

  • Too much work before the first screen. Both Apple and Google document it: heavy set-up in the first moments, starting everything at once, and add-on libraries that each cost a little at launch. The fix is to load only what the first screen needs.
  • Asking for everything at once. One request that returns the whole account, every order and every picture, when the screen shows five items.
  • Pictures bigger than the space they fill. A large photo that is shrunk on the phone costs memory and drawing time. The server should send a version that fits.
  • Long lists drawn in full. A good list draws what is on the screen and reuses its parts as you scroll.
  • Work that blocks the screen. A calculation, a file read or a network call done on the same thread that draws the interface freezes the app for as long as it takes.
  • A server that was built for fewer customers. It was fine at launch and now a few queries wait on each other. This is a common reason for apps that slow down as they grow, and it connects to the pattern we describe in why apps fail after launch.

If a developer proposes a fix for any of these, ask which screen and which phone it improves, and by how much. A good answer is a before and after on the same phone.

Fix one slow moment at a time

A loop for fixing slowness, in four steps. First, pick one slow moment, such as opening the app or loading the order list. Second, measure it on the same phone and connection. Third, change one thing. Fourth, measure again and keep both numbers.
A fix that has no before and after is a guess.

The order we work in is short:

  1. Pick one slow moment. The one your customers name most, or the one on your main flow. Opening the app, the search, the checkout.
  2. Measure it before you touch it. Use the same phone, the same connection and a release build, never a development build. Write the number down.
  3. Change one thing. If you change five, you will not know which one helped, and one of them may have made something else slower.
  4. Measure it again, and keep both numbers. If the number did not move, the cause was somewhere else.

Then take the next moment. For the order between moments, use the same questions as for every other fix: does it stop people from doing the main thing, and does it cost customers. Why apps fail after launch has the full list. After a fix, a test or a check on the build should keep it from returning. We write about those in how we test and review every change, and a steady release rhythm, as in how often to release app updates, lets you see whether each version got better or worse.

What to ask your developer or agency

  • Which of the three kinds of slow is this? Open, choppy or loading. The answer should name a screen.
  • What does the store report say for the last three versions? Launch time, hang rate and hitch rate on Apple, startup and slow rendering on Android. A team that is watching the app can tell you.
  • Which phone and connection was it measured on? Numbers from the developer’s newest phone on office wifi are not what your customers see.
  • What is the before and after for the last fix? Two numbers on the same phone.
  • Is the problem on the phone, on the network or on the server? One word is enough, if it is backed by a test.
  • Can we see the reports and the monitoring in an account in our name? If only the agency can see them, you cannot check the work. That is part of what we look at first in a takeover.

Questions owners ask

Is a slow app always a problem with the code?

No. The cause may be the server, the network, the size of what the app downloads or a service the app waits for, and a new version of the app will not help with those. That is why we find where the time goes before we change code.

Will a new phone or faster internet fix it?

It will hide some of it. If the app is slow on a new phone and a good connection, the cause is in the app or on the server. If it is slow only on older phones or weak connections, the app is doing more than it should for the customers who have those, and many of your customers do.

Do we need a monitoring tool to measure speed?

Start with what the stores give you, since both collect launch and responsiveness data from real customers. A monitoring tool adds more detail per screen and per request, and it is worth adding when the store reports cannot tell you which screen is slow.

How do we know the fix worked?

The same measurement, on the same phone and connection, is better after the change than before. Then watch the store reports for the next version, which show whether real customers saw it too.

Should we rebuild the app because it is slow?

Rarely on that reason alone. Speed problems usually live in a few screens, a few requests or a few start-up steps. Measure first, and if the slowness comes from the structure of the whole product, should you rebuild your app covers how to decide.

Where to go from here

Name the kind of slow, check what the stores already show, find which of the phone, the network and the server is taking the time, and fix one moment at a time with a number before and after. If you would like another pair of eyes on your app, we go through your product before the free 45-minute consultation and show you what we would look at first. You can also read about our services and how we work.

Book a free consultation