Marcus Andrey Study
Ler em português Library

Complex products · Step 6 · 8 min read

Perceived performance with big data

With 9,000 open work orders and 120,000 stock lines, some screens will never be instant. How fast a screen feels depends on what it shows first, how it tells people it's working and what it never tries to load at all. Response-time limits, skeletons and spinners, loading in batches, virtual lists, and acting before the server answers.

People don't measure speed with a stopwatch. They measure it by how long they wait with nothing to do. Cabo Alto Energia, Gale's example customer, has about 9,000 open work orders and 120,000 stock lines at any time. Some screens over that data will take seconds, whatever the developers do. Design decides whether those seconds feel like the product thinking or the product stuck: what appears first, what the screen says while it works, and what it never tries to load at all.

What you'll be able to do after reading:

  • Tell measured performance from perceived performance, and use the three response-time limits
  • Choose between a skeleton, a spinner and a progress bar for each wait
  • Design a big list that shows useful rows first and never loads everything
  • Decide when the screen may show a change before the server confirms it

1. Two kinds of fast

Measured performance is what a stopwatch says: the search answered in 2.4 seconds. Perceived performance is how fast it feels to the person. The two differ because waiting with something useful on screen feels shorter than staring at nothing.

The limits from the previous lesson apply to every click, not only to jobs. Under 0.1 second the system feels instant; around 1 second the person's "flow of thought" stays unbroken; past 10 seconds attention leaves (Nielsen, NN/g, 1993). For a planner who repeats the same search dozens of times a day, the jump from 0.8 to 1.5 seconds matters more than any visual detail on the page, because it crosses a limit every single time.


2. Say it's working, the right way

NN/g gives a rule per wait:

  • Under 1 second: show nothing extra. "Skeleton screens or spinners aren't necessary" (Tankala, Skeleton Screens 101, NN/g, 2023).
  • 2 to 10 seconds: a spinner (a looping animation) for one part of the page, or a skeleton screen for a full page. A skeleton is "a wireframe-like visual that mimics the layout of the page", meant "exclusively for full-page loads" (same source).
  • 10 seconds or more: a percent-done indicator (Sherwin, NN/g, 2014), or a background job.

IBM's Carbon design system recommends skeletons for "data-based components like data tables and cards", and progressive loading, which "loads pages in batches", for the moment when "a user changes filters or facets in a table view" (Carbon, Loading pattern).

WaitShowGale example
Under 1 sNothing extra: the resultOpening a work order from the list
2–10 s, one part of the pageA spinner in that partThe weather panel on a work order
2–10 s, the full pageA skeleton with the real layoutThe work-order list after changing site
10 s or morePercent-done, or a background jobA year of inspection reports exported
The indicator depends on how long the wait is and how much of the page it covers. The highlighted row is the commonest case in Gale: a full table loading after a filter changes.Diagram: Marcus Andrey, CC BY 4.0. Time ranges from NN/g (Tankala 2023, Sherwin 2014). Gale is fictional.

The skeleton must look like the real table: same columns, same row height. A skeleton that turns into a different layout makes the page jump, and the person loses their place.


3. Show the first rows first

Rita opens the work-order list. The question on her mind is about the next few work orders, not about all 9,000. So the screen can answer in stages:

  1. At once

    Page frame, Rita's last filters (Site CA-07 · Open), the table skeleton with the real columns.

    Nothing blank
  2. Under 1 second

    The first 50 rows, sorted by planned start. Rita can already open WO-2026-018734.

    Useful before it's complete
  3. A moment later

    "412 open work orders at CA-07". Until then: "Counting…".

    The slowest number comes last
A big list loads in stages. The highlighted stage is the one that matters: the first rows arrive in under a second, so Rita starts working while the count is still running.Diagram: Marcus Andrey, CC BY 4.0. Gale and its numbers are fictional.
  1. At once: the page frame, the filters she used last time, and the skeleton of the table.
  2. Under a second: the first 50 rows, already sorted.
  3. A moment later: the total count, which is often the slowest number to compute. Show "About 9,000" or "Counting…" instead of holding the whole table back for it.

Two rules keep this honest. Never let rows move under the person's pointer while more data arrives; add new rows below, not on top. And never show a count you'll correct by a factor of ten; "Counting…" is better than a wrong number.


4. Never load everything

Nobody reads 120,000 stock lines. Three techniques keep the screen from trying:

  • Filters with good defaults. Tiago, the warehouse clerk, sees his own stock location by default. The best rows to load are the ones he asked for. Sort, filter and search covers the filters themselves.
  • Pagination or "load more". NN/g doesn't recommend infinite scrolling when people want to "find something specific" or "compare items in a long list", because "it is hard to remember the location of any specific item and return to it" (Neusesser, Infinite Scrolling, NN/g, 2022). Finding and comparing is most of what planners and clerks do.
  • Virtual lists. When a long list really must scroll, developers can use virtualisation: "the concept of only rendering what is visible to the user" (Miller and Djirdeh, web.dev). The page draws the 30 rows on screen and swaps them as the person scrolls. The design job is to keep the scroll bar honest and the header and selection stable.

Search the server, not the screen. If the search box only filters the 50 rows already loaded, it gives wrong answers with a straight face. Say what was searched: "Searching all 120,000 stock lines".


5. Show the change before the server answers

When Duarte drags a work order to another crew, the screen can move it at once and confirm with the server in the background. This is optimistic UI: the interface shows the result it expects, before the server confirms it, and undoes it if the server says no.

It feels instant, and it's right only when three things are true:

  • Failure is rare. Moving a work order between crews almost always works.
  • Failure is cheap to show and undo. The card goes back and a message says why.
  • Nobody acts on it at once in the real world. Releasing a permit-to-work fails this test: a technician may climb the moment it says Released. Safety and money actions wait for the server and say so ("Releasing permit…").

6. Agree on numbers with developers

Performance is a design requirement, so write it in the handoff like any other. A performance budget is a limit the team agrees each screen must meet, measured on realistic data. For Gale's top tasks, the team uses the three limits as targets: typing and selecting under 0.1 second, opening a work order and running a search around 1 second, nothing over 10 seconds without a percent-done indicator or a job.

Test with the largest customer's data, not with the 40 rows in the test environment. Cabo Alto's 9,000 work orders are the test; a demo with 40 hides every problem in this lesson.


7. Common mistakes

  • Testing performance only with small test data.
  • A full-page spinner for a table that could show its first rows.
  • A skeleton with a different layout from the real screen.
  • Holding the whole page back for the total count.
  • Infinite scroll on a list people need to search and compare.
  • A search box that only searches the rows already loaded.
  • Optimistic UI for actions that are risky or hard to undo.

8. Vocabulary

Term Meaning
Measured performance How long something takes, by the clock
Perceived performance How long it feels to the person waiting
Spinner A looping animation that says "working" without saying how much is left
Skeleton screen A grey outline of the page's layout, shown while a full page loads
Progressive loading Loading and showing data in batches instead of all at once
Pagination Splitting a long list into numbered pages
Virtualisation Drawing only the rows on screen and swapping them as the person scrolls
Optimistic UI Showing the expected result before the server confirms it, and undoing it if it fails
Performance budget A time limit the team agrees each screen must meet on realistic data

9. Try it (no tools needed)

Tiago searches for "gearbox oil filter" in 120,000 stock lines across 38 sites. The search takes about 3 seconds; counting all the matches takes 6.

  1. On paper, draw the screen at four moments: the instant he presses Enter, after 1 second, after 3 seconds, after 6 seconds.
  2. Under each drawing, write what is on screen and what the screen says. Use the rules from section 2 to choose skeleton, spinner or nothing.
  3. Mark which part of the search is done on the server, and write the line that tells him what was searched.
  4. Check: is there something useful to read before the 3 seconds are up? Does anything jump when the results arrive? Is there a moment with a blank screen?

It's good when no drawing shows an empty screen and the last drawing has the same layout as the first.

Reflection questions: Which product you use feels faster than it is? What does it show you while you wait?


10. If you already practise

  • Ask developers for timing data from production for the top five tasks, split by customer size. The slowest customer is the one your design is judged by.
  • Add skeletons for tables and cards to the design system, built from the same row heights and columns as the real components.
  • Write the optimistic-UI rule down per action type, so nobody adds it to a safety action because it "felt slow".

Checklist

Learn more

Books, courses and videos to go deeper

Book links go to Amazon. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.

Background jobs, queues and notifications · Anatomy of a data table · Sort, filter and search · Feedback while waiting · Interface states: empty, loading, error, success · Expert-user efficiency

Saved only on this device.

↑ ↓ to move · Enter to open · Esc to close