Explanation

What p95 latency tells you about a slow service

What is p95 latency and how should I interpret it?

P95 latency is the 95th percentile of measured request durations. Roughly 95% of the observed requests finished at or below that time. It describes the slower end of that sample. The operation, time window, sample size and treatment of failures determine what you can infer from it.

Define which requests are in the number

A site-wide percentile may mix tiny asset requests with expensive searches. Look at the operation a person is waiting for and record the request count alongside its latency. A rise can reflect different traffic or a slower dependency as well as a change in code.

Compare like with like across releases

Use the same operation, traffic mix, measurement point and comparable time windows. Report errors as well as duration. A service that rejects requests immediately can look faster while fewer people finish their work. To combine several servers, aggregate compatible duration histograms or raw observations before calculating the percentile.

Worked example

Two hundred searches after a release

In a simplified sample, 180 searches take 100 ms, 10 take 400 ms and 10 take 2,000 ms. The mean is 210 ms. Using the nearest-rank method, p95 is the 190th sorted result, or 400 ms. Ten searches still took two seconds. Breaking those out by query type gives the team a concrete place to investigate.

Adapted by Cue April from The Engineering Handbook v1.0.0 by Tenhaw (© 2026 Tenhaw LTD). The examples and pull request checks are Cue April adaptations. Tenhaw on latency distributions and metrics · CC BY 4.0

Try it on your pull request

On your own PR, identify the request whose latency matters and check which conditions your existing tests exercise before comparing timings.

Try Cue April on your repository

Create an account, connect your repository and review the test plan.