Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Loadrunner Analysis: How can the 90th percentile be higher than the average?

A bit confused. I have a few Loadrunner Analysis from a report I've run. I'm new to testing. My understanding of the 90th percentile is that, given that it takes the 90th percentile and leaves out the outliers, it presents a truer picture. Although I'm looking at two different reports and in both, the 90th percentile response time is higher than the average response time given in the Summary Report. How can that be possible?

I'm looking at the graph of transaction response times (Percentile) and the last 10% shoot up, therefore telling me that taking the 90% should see a lower response time.

 Example
Transaction 1

Min 0.012
Avg 1.919
Max 20.935
SD 2.718
90 Percentile 6.412

A lot of the transactions look like this, more-or-less. Why is the 90th percentile higher than the average?

like image 718
sky Avatar asked Dec 02 '25 09:12

sky


2 Answers

The 90th percentile means that 90% of the values fall below this value. The value in this case would be your response time. So if you had 1000 values and the 90th percentile is n, 900 of those values would be below n, and only 100 above n -- so it makes sense that the average is less than the 90th percentile.

like image 130
gilez Avatar answered Dec 04 '25 03:12

gilez


The median is the 50th percentile. It will always be below 90th percentile. The average can actually be higher than the 90th percentile if you have a small percentage of your data set which is significantly long, dragging the average for the entire data set higher.

like image 24
James Pulley Avatar answered Dec 04 '25 01:12

James Pulley