"The app is slow" isn't a bug report. It's a feeling. Your first job is turning that feeling into a number.
I've watched this happen many times. Users complain. The team guesses. Someone upgrades the server, someone else adds a cache, and a week later nobody can say what helped. The app is still slow, just more expensive.
Here are the troubleshooting steps, in order. If you want the list of usual causes, read why your app is slow. This post is about how to find which one is yours.
Step 1: Make the Complaint Specific
Ask the person who reported it five plain questions:
- Which page or action is slow?
- How long does it take, roughly?
- Is it slow every time, or only sometimes?
- Is it slow for everyone, or some users?
- When did it start?
"Slow sometimes, for some users" points somewhere very different from "slow every time, since Tuesday." The first sounds like load or data size. The second sounds like a release.
Step 2: Measure It Yourself
Reproduce it. Open the page with the browser's network tab open, or call the API and time it. Write the number down. That number is your baseline. Every fix gets checked against it.
Look at server logs or your monitoring tool too. Don't trust the average. An average of 300 milliseconds can hide one request in twenty taking six seconds. Look at the slowest 5 percent of requests. That's what users remember.
If you can't measure it, you can't say you fixed it.
Step 3: Find the Slow Layer
A request goes through a few layers: the browser, the network, the server, the database, and any outside services you call. Only one or two are usually the problem. Your job is to find which.
Browser or server?
In the network tab, look at how long the server takes to send the first byte. If that's most of the time, the problem is on the server side. If the server answers fast but the page still crawls, look at the browser: large images, too many requests, or heavy JavaScript.
Server code or database?
Turn on query logging for one slow request. Count the queries and time each one. One request firing 200 queries is a common find, and so is one query taking two seconds because a column has no index. If the queries are fast, look at the code between them.
Your code or someone else's?
Payment providers, email services, AI APIs and maps all add time. Log how long each outside call takes. If one call takes three seconds and blocks the page, that's your answer. Move it to the background or cache the result.
Step 4: Check What Changed
Apps rarely get slow for no reason. Something moved. Check these against the date the complaints started:
- A release or a dependency update
- A jump in data: a big customer, an import, a year of logs
- More traffic, or traffic at a new time of day
- A change at a hosting provider or outside service
Data growth is the quiet one. A query that scanned 10,000 rows in testing now scans 2 million. Nothing in the code changed. The app got slow anyway.
Step 5: Fix One Thing, Then Measure Again
Pick the biggest cause you found. Fix it. Measure against your baseline. If you change three things at once and it gets faster, you don't know what worked, and you can't repeat it next time.
Stop when the number is good enough for users. Not perfect. Good enough. Then set an alert so you hear about it before your users do next time.
When the New App Is Slower Than the Old One
This one hurts. You paid to replace an old system, one of the goals was speed, and testers say the new app is slower.
The first thing to do is set a baseline. Not a fix. Measure the same actions in both apps, with the same amount of data, on comparable servers. Write down the times side by side. Now you know which actions are slower and by how much, instead of arguing about a feeling.
Then check the usual reasons a rebuild ends up slower:
- The test environment is smaller than the old production server
- Indexes from the old database didn't move to the new one
- The new code loads data one row at a time where the old code did it in one query
- The new frontend makes ten API calls for a screen the old app built in one
- The old app had caching nobody wrote down
Most of these are fixable in days, not months. A slower rebuild doesn't mean the rebuild was wrong. It means nobody measured before launch.
Troubleshooting Checklist
- Which action is slow, for whom, since when
- A measured baseline, including the slowest 5 percent
- Time to first byte vs total load time
- Query count and slowest query for one slow request
- Time spent in each outside service
- Releases, data growth and traffic changes around the start date
- One fix at a time, measured against the baseline
If the steps point at deeper problems, like no monitoring, no staging, or code nobody on the team understands, the slowness is a symptom. Our backend and API work starts with exactly this kind of diagnosis.
At Asteroid Studio, we don't touch the code until we know where the time goes. Measure, find the layer, fix one thing. Not the glamorous answer, but it's the right one.
Common questions
What is the first step in diagnosing application slowness?
Turn the complaint into a number. Find out which page or action is slow, for which users, at what time, and how long it takes. Then measure it yourself. Without a number you can't tell if a fix worked.
How do I know if the slowness is in the frontend or the backend?
Open the browser's network tab and look at the slow request. If the server takes a long time before sending the first byte, the problem is on the backend or in the database. If the server answers fast but the page still feels slow, look at large files, too many requests, or heavy JavaScript in the browser.
Testers say the new app is slower than the old one. What should be done first?
Set a baseline before changing any code. Measure the same actions in both apps, with the same data size, on comparable hardware, and write the numbers down. That tells you which actions are slower and by how much, so the fix goes where the gap is.
Should I add more servers to fix a slow app?
Only after you know the servers are the limit. Most slowness comes from database queries, missing caching, or slow third-party calls. More servers don't fix those. They make the bill bigger while the real cause stays in place.
App slow and nobody can say why?
Send the link and tell us which pages or actions feel slow. We'll look at what's public and tell you plainly where the time is likely going and what to check first. Then it's fixed-price work, scoped before we start.
Request a Production Readiness Review