| ISSUE 337/456 · COMPUTER SCIENCE |
~4 MIN |
FOUNDATION / READING DATA · READING DATE 2027-09-03 · SEPTEMBER 2027 — EVIDENCE, CLIMATE AND ENERGY
Why the average misses the slowest screen
START HERE
You tap a screen and time how long it takes to answer. A percentile is a boundary in ordered measurements that marks a chosen share of the observations. A high percentile describes slow experiences that a middle or average value can largely conceal.
|
/ WHY NOW
If an app feels fast most of the time but occasionally leaves you waiting, its average response time may not capture your complaint. A useful dashboard needs to describe how often those unusually slow responses occur.
|
/ THE IDEA
A quantile divides ordered data at a chosen fraction; a percentile expresses that fraction out of one hundred. The 95th percentile is often written p95. Under our calculation rule, at least ninety-five percent of observed times lie at or below this boundary. With tied measurements, the share can be larger. We will use the nearest-rank convention: sort n measurements, multiply n by the chosen fraction p, round the position upward, and read that item. Different software may interpolate between neighbouring values instead, especially for small datasets. State the convention before comparing dashboards.
THE FORMAL IDEA
rank = ceil(p × n); percentile = value at that sorted rank
| p is the chosen fraction, greater than zero and at most one, such as 0.95; n is a positive observation count. ceil means round upward to a whole number. | | Rank has no time units. Reading the value at that rank returns a response time in milliseconds, where 1,000 ms equals one second. |
|
RUN THE TINY EXAMPLE
Change one thing. Predict what happens.
Sort 100 replies: 95 take 100 ms; the final five take 2,000 ms. For p95, rank = ceil(0.95 × 100) = 95: p95 = 100 ms. Change one more reply to 2,000 ms, leaving 94 fast replies. The 95th item is now slow: p95 = 2,000 ms.
|
The boundary jumps because the share of slow replies crossed the selected cutoff. Only one of one hundred replies changed, from 100 to 2,000 ms, yet the p95 boundary became twenty times as large. The average moves only from 195 to 214 ms, illustrating how summaries react differently to the same changed record.
/ SO WHAT?
This helps interpret a sudden p95 alarm: inspect the distribution and slow-request count before assuming every user deteriorated. A higher percentile can also hide an even rarer disaster beyond its boundary. In the first dataset, p99 would already be 2,000 ms. Measure over a defined time window and for a defined request type so that a changing mixture of easy and difficult work does not masquerade as a software regression.
ONE CAVEAT |
| An observed percentile is not a guarantee for future requests. High percentiles need many observations, and averaging several machines’ p95 values does not generally produce the combined p95. Combine the underlying measurements or compatible distributions instead. |
KEEP THIS
A percentile changes when the ordered boundary changes, so inspect both the cutoff time and the share of requests beyond it.
|
NEXT: Two batteries can share a capacity number and differ
|