Using percentiles to understand software response times
Look beyond an average when reviewing how quickly a business application responds.
Choose the task and conditions
Identify the action being measured, such as opening an active job list, along with the test period, workload and relevant dependencies. A response-time figure is difficult to interpret without knowing what was measured. For example, measure the same job-list action under the agreed number of users and records before comparing one release with another.
Look beyond the average
Suppose 95 fictional requests complete within one second and five take ten seconds. An average alone does not show which users experienced the longer waits. Percentile measures can help describe the slower end of the observed distribution.
Document the calculation
Agree which percentile, time window and calculation method the report uses. NIST notes that different percentile calculation methods are in common use, particularly affecting small samples. Show the sample size and avoid treating a small test as proof of every user’s experience.
Investigate the slower cases
Check whether slow requests share a data volume, device, network condition or external dependency. Test in an appropriate environment without loading live third-party services, and compare results under the same conditions after a change. A slow external dependency may need a different remedy from a slow database query, so preserve enough context to investigate without logging unnecessary personal data.