Fast APIs, Slow Screens: Load Testing with TTU

API p95 sat in the tens of milliseconds, yet users said screens were slow. One screen made about 174 calls. Here's how we moved load testing to Time to Usable.
안녕텐's avatar
Nov 26, 2026
Fast APIs, Slow Screens: Load Testing with TTU
Short answer: Our API p95 sat in the tens of milliseconds, yet users said the screens felt slow. One screen triggered about 174 API calls. We moved load testing from requests to screens, defined a Time to Usable (TTU) metric measured in a real browser with k6, and defined capacity as the number of concurrent users at which TTU p95 stays at or under 2 seconds and the error rate stays below 1%.

What does "performance" actually mean?

That was the first question I asked while preparing our performance tests. We all say "performance," but what it refers to depends on the product.
  • Cars: horsepower and output
  • Computers: hardware specs such as processor and memory
  • Cameras: megapixels and sensor size
  • Smartphones: battery life and how fast apps open
  • Air conditioners: cooling capacity and power draw
So what does performance mean for software, for a platform like ours? It depends on which angle you look from.
Angle
What it measures
Latency
How fast a single request comes back, usually read at p95
Throughput
How many requests are handled per unit of time, in requests per second (RPS)
Capacity
How many concurrent users the system can take while staying within a defined target
Scalability
Whether processing capacity grows as you add resources
Stability
Whether error rates and resource usage hold up under sustained or bursty load
Perceived performance
How long it takes before a user can actually use the screen
The definition I chose was "Does the response users feel stay within target as concurrent users grow?" In other words, capacity measured against perceived performance. So the question became "How many concurrent users can AIPub handle comfortably?" And at first, I assumed I could measure that response through API response times.

If the APIs are fast, is the platform fast?

I started by treating backend API performance as a proxy for user experience. I sent requests to the gateway REST API with Gatling and measured RPS and p95 response time per request.
Request p95 sat in the tens of milliseconds. Looking at the graphs, you could fairly say "fast enough."
But users were telling us the screens felt slow. The APIs were clearly fast, yet the people using the product disagreed. That was where the numbers and the experience started to diverge.
notion image
Taken on their own, every request was far below target. Yet with the same level of requests flowing, users still felt the product was slow.

Why can a screen be slow when every API is fast?

The bottleneck wasn't any single API. It was how the web app combined many APIs to draw one screen.
Using the browser's HTTP Archive (HAR), I counted the calls made during a single visit to the project list screen: about 174. That was the result of fan-out and chained calls: fetch the list, then fetch each item's sub-resources.
For a user, one response isn't one request. One response lasts until the screen is fully drawn. Request-level measurement structurally can't see the sum of those 174 calls. That is how every request can be fast while the screen is still slow.
notion image
For the same "one response," a single request ends on its own, but a screen only ends when all of these calls settle.

What is Time to Usable (TTU)?

So I moved the unit of measurement from requests to screens. The harder question was how to measure the screen experience. Front-end performance already has well-established standard metrics. Four of the best known:
Metric
What it measures
Limit for screen transitions
First Contentful Paint (FCP)
When the first content is painted
Content is visible, but not yet usable
Largest Contentful Paint (LCP)
When the largest content element finishes rendering
Based on the initial document load, so it misses in-app screen transitions
Time to Interactive (TTI)
When the page starts responding reliably to input
Focused on initial load, hard to measure again for every transition
Interaction to Next Paint (INP)
Responsiveness from an interaction to the next paint
Measures one reaction, not when the screen is complete
Most of these are tied to the moment a document first loads. The problem I was looking at was different: navigating between screens inside an already-loaded Single Page Application (SPA), where a single transition fans out into many calls. The standard metrics capture that less well. So I needed a unit that measures the screen transition directly, and defined a new primary metric: Time to Usable (TTU), the time until a user can actually use the screen.
TTU runs from the moment navigation starts until that screen's network calls settle (networkidle). I changed how we measure, too. Instead of firing requests directly, I opened the real front-end build in a real browser (k6 browser) to reproduce the user's environment. The test has three parts:
  • Screen response measurement: opens screens on the real front-end build and records TTU.
  • User scenario load: reproduces users moving between list, detail, and edit screens.
  • Background load: steady load kept on the platform, as in production.
We didn't throw away the request metrics. Request metrics answer "Is the server healthy?" TTU answers "Can users feel it?" Each has its own job.
notion image
While the screen response measurement records TTU, user scenario load and background load run underneath it.

What did the new metric show?

Once the focus moved to screens, the tooling consolidated naturally. We dropped Gatling and moved everything to k6.
We also set clear pass criteria. "N concurrent users" is the highest load at which TTU p95 on the screen members use most stays at 2 seconds or less and the error rate stays below 1%. Only then could we answer the original question, "How many concurrent users can it handle?", with a number.
The result was a little surprising. The screens themselves stayed within target. The limit came first from the throughput of a separate component the platform depends on, not from the screens. Had we not changed the unit of measurement, we would still be staring at API graphs and saying "fast enough."
notion image
The curves make it clear: the error rate crossed 1% before TTU reached its 2-second target.

What you measure changes the conclusion

Measured by request, the same system was "fast enough." Measured by screen, we could see exactly where it stopped. What we measured changed the conclusion.
That's why I think Service Level Objectives (SLOs) should be defined in the unit users actually feel: the screen. That is how you answer a capacity question like "how many concurrent users?" This doesn't mean dropping server metrics. They stay in place to explain why something got slower.
The next step is regular load testing with the same spec on every release. Once a baseline exists, the job becomes tracking change.
In the end, fast APIs didn't automatically mean a fast product. What mattered was measuring the performance users actually feel.

FAQ

What is Time to Usable (TTU)? The time until a user can actually use a screen. In this test, it runs from the moment navigation starts until that screen's network calls settle (networkidle).
Why can a screen be slow when API response times are fast? Because one screen can trigger many API calls. Even with request p95 in the tens of milliseconds, fan-out and chained calls (fetch a list, then each item's sub-resources) add up to a long wait. In our test, one project list screen made about 174 calls.
Can't you use Core Web Vitals such as LCP or INP instead? FCP, LCP, and TTI mostly describe the initial document load, so they miss transitions between screens inside an SPA. INP shows how responsive a single interaction is, not when the screen is complete.
Do you still need server-side metrics? Yes. TTU tells you whether users can feel a problem. Request-level metrics tell you whether the server is healthy and why things slowed down. Use both, each for its own job.
→ See how AIPub runs GPU workloads for many teams on one platform. Explore AIPub 👉 Talk to our team 👉

References