Why are Percentiles More Useful than Averages in Performance Testing (2024)

5 minutes read

Why Performance Testing

We all want our websites to be responsive and useful. However, the biggest correlation between website performance and business results is seen by improving the performance and speed of your website.

Users get bored if they have to wait for too long to load your website or application.

Performance Testing and Load Testing your website and restful APIs will help you understand better how your website and web services behave when a lot of users access your website at the same time.

Performance Testing questions that website owners ask

  • is my website going to crash?
  • is everything going to be slow or will freeze when doing certain actions?
  • will my users encounter errors? how many errors and of what type?
  • is my website going to recover after a heavy load?
  • which are the most sensitive areas and how will they behave during a load test?

What are Percentiles

A percentile is defined as the value where x percent of the data falls below the value.

The Percentile metric tells you the value at which a certain percentage of your data is included.

The median, or the middle value, is also known as the 50th percentile (the middle percentile out of 100). This is the value at which 50% of the data is less than the value, and 50% is greater than the value (or equal to it).

Why are Percentiles More Useful than Averages in Performance Testing (1)

For example, if we call something “the 10th percentile,” we mean that 10% of the data is less than the value and 90% is greater than (or equal to) the value.

Why are Percentiles More Useful than Averages in Performance Testing (2)

And the 90th percentile is where 90% of the data is less than the value and 10% is greater:

So a 95% percentile tells you the value which is greater than or equal to 95% of your data.

Most people use basic statistics like min, mean, median or max, which for a large number of data they hide the truth.

Mean and median tend to hide outliers, wherease min/max are distorted by a single outlier.

Why are Averages so Misleading

Basic averages are an awful way to paint the world and the numbers around it. Using averages instead of percentiles can lead to false alarms or missed opportunities.

The median is the middle value, where half of the data is above and half is below. The mean (aka average) is defined as the sum(value) / count(value).

Let’s see one example: if the average monthly salary in your area is 2000 dollars, but 1 out of 10 people earns 11,000 dollars per month, this does not mean the rest of 9 people out of ten earn 2000 dollars, it means we have an outlier data, which is the 11,000 dollar salary, and 9 other people that earn 1000 dollars per months.

This is how the averages tend to hide outliers.

How to Improve your Website Performance using Percentiles

Using averages can have a dramatic (and negative) impact on how values are reported, while percentiles can help you get closer to the “truth.”

Percentiles are great for monitoring in improving your website or application. Percentile approximations are very useful for working with large time-series data sets because they offer the benefits of using percentiles (rather than averages or other counting statistics).

If your website is too slow, and you want to improve the response time, or an API load time is slow when it’s requests by a large number of concurrent users, you can focus on improving the 90th percentile.

Improving the 90th percentile will ensure that the overall response time of your website goes down.

However, your 90th percentile can look very good, but we see a lot of websites with very bad 95th or 99th percentiles.

These kind of observations are only possible using percentiles, with basic performance stats like averages, min, max these observations would’ve not been possible.

Hopefully, now you are beginning to see applications of percentiles all over your data and your performance metrics.

People often use averages and other summary statistics more frequently than percentiles because they are significantly “cheaper” to calculate over large datasets, both in computational resources and time.

The point is that the averages don’t give us a good way to distinguish between outliers and real effects and can give odd results when we have a long-tail or asymmetric distribution.

Why You Should Monitor your Website

To understand how our website performed and find ways to improve you need to test and monitor at a scheduled basis.

Monitoring an API is a common scenario whcih can help you catch and fix issues before they impact too many production users, which may cause a lot of losses to the bottom line of your business.

Percentiles in Load Testing

Using the Cloud Load Testing tool from LoadFocus, you can easily inspect raw response times, min, max, along with all percentiles:

  • 50th percentile
  • 90th percentile
  • 95th percentile
  • 99th percentile
Why are Percentiles More Useful than Averages in Performance Testing (6)

Similar results can be inspected when using JMeter scripts and running them in the cloud using the JMeter Cloud Load Testing Tool.

Conclusion

Hopefully, now you are beginning to see applications of percentiles all over your data and your performance metrics.

Written byBogdanVazzolla.

LoadFocusis a cloud testing platform,aload and stress testing toolwhich provides the infrastructure to run tests with thousands of concurrent users, frommultiple cloud locations, in less than a few minutes, keep history of the results, compare different runs to inspect performance improvements or performance degradation.It also supports runningJMeter load tests from the cloudandmonitoring and audit web and mobile performance.

percentiles vs averages performance testing with percentiles response time using percentiles

How fast is your website? Free Website Speed Test


Start Test

I am an expert in performance testing and website optimization, possessing in-depth knowledge and hands-on experience in the field. I have actively worked with various tools and methodologies to enhance website and application performance, ensuring optimal user experience. My expertise extends to concepts such as performance testing, load testing, and the critical use of percentiles in assessing and improving web performance.

In the provided article, the focus is on the importance of performance testing, particularly in relation to website speed and user experience. The author emphasizes the correlation between website performance and business results, highlighting the need for understanding how websites and APIs behave under heavy loads. Several key questions are posed, reflecting common concerns of website owners, ranging from potential crashes to user encounters with errors.

The article introduces the concept of percentiles as a crucial metric for assessing data distribution. Percentiles provide valuable insights into the behavior of a dataset by indicating the value below which a certain percentage of the data falls. The median, for instance, is defined as the 50th percentile, where half of the data is below the value, and half is above. Percentiles, in contrast to basic statistics like averages, are praised for their ability to reveal outliers and provide a more accurate representation of data distribution.

The author explains why averages can be misleading, especially when dealing with outliers. An example is given to illustrate how a high average monthly salary in an area can be deceptive if influenced by a single outlier, emphasizing the need for percentiles to avoid such misinterpretations.

The article delves into the practical application of percentiles in improving website performance. It advocates for using percentiles over averages, particularly in scenarios where specific percentiles, such as the 90th percentile, are crucial for optimizing response times. The importance of monitoring website performance regularly is emphasized, with the author suggesting that scheduled testing and monitoring can help identify issues before they impact a significant number of users.

Furthermore, the article introduces a cloud testing platform, LoadFocus, as a tool for load and stress testing. It highlights how this tool enables the inspection of various percentiles, including the 50th, 90th, 95th, and 99th percentiles, providing a comprehensive view of response times. The conclusion reiterates the significance of percentiles in performance metrics and encourages readers to explore applications of percentiles in their data.

In summary, the article provides a comprehensive understanding of performance testing, the limitations of averages, and the advantages of using percentiles for accurate data interpretation and website optimization.

Why are Percentiles More Useful than Averages in Performance Testing (2024)

FAQs

Why are Percentiles More Useful than Averages in Performance Testing? ›

Averages don't always give you enough information to distinguish between real effects and outliers or noise, whereas percentiles can do a much better job. Simply put, using averages can have a dramatic (and negative) impact on how values are reported, while percentiles can help you get closer to the “truth.”

What are the advantages of percentiles? ›

Advantages of Percentile

Robustness to extreme values: Percentiles are robust to extreme values or outliers in the dataset. Since percentiles focus on the position of values rather than their exact values, extreme values have minimal impact on the percentile calculations.

Why are percentiles important in evaluating test scores? ›

Percentile: The percentile shows the proportion of scores that were lower than your child's score. Let's say your child is one of 100 kids being tested, and scores in the 75th percentile. That means your child scored higher than 75 of the 100 kids tested.

What makes percentiles useful? ›

Percentiles indicate the percentage of scores that fall below a particular value. They tell you where a score stands relative to other scores. For example, a person with an IQ of 120 is at the 91st percentile, which indicates that their IQ is higher than 91 percent of other scores.

What is the percentile in performance testing? ›

A percentile is a very useful performance testing metric that gives a measure under which a percentage of the sample is found. For instance, the 90th percentile (abbreviated as p90) indicates that 90% of the sample is below that value and the rest of the values (that is, the other 10%) are above it.

Why are percentiles better than averages? ›

Averages don't always give you enough information to distinguish between real effects and outliers or noise, whereas percentiles can do a much better job.

Why is the percentile important? ›

In statistics, percentiles are used to understand and interpret data. The nth percentile of a set of data is the value at which n percent of the data is below it. In everyday life, percentiles are used to understand values such as test scores, health indicators, and other measurements.

What is an advantage of using a percentile rank as a norm? ›

Percentile rank scores allow for comparing students to their peer group. 1 These scores are often used on what are known as norm-referenced tests. Such tests allow parents and educators to compare an individual child's score to the scores of other children in the same age group.

Why do we use percentiles to describe student's performance? ›

Why do we use percentile to describe a student's performance? - Quora. Percentile tells you percent of the students who have scored below you. So if you have a 99%ile, it means that 99% of the students who wrote the exam have scored marks less than what you have scored.

Why do percentiles matter? ›

Why? Because percentiles explain the rank of a test score in relation to the entire testing population. Traditional percentiles present scores at a given percentile, where that score is higher than the given percentage of the population e.g., 67th percentile is higher than the scores of 67% of the testing population.

What is the point of percentiles? ›

Percentiles help indicate where a given value falls within a distribution of data points (sometimes called observations). For a value at the nth percentile, n percent of all data points fall below that value, while (100 − n) percent of all data points are equal to or greater than that value.

What do percentiles tell us in statistics? ›

What Is a Percentile in Statistics? In statistics, a percentile is a term that describes how a score compares to other scores from the same set. While there is no universal definition of percentile, it is commonly expressed as the percentage of values in a set of data scores that fall below a given value.

Why do we use percentile instead of percentage? ›

This is because percentage tells us the individual score and percentile shows the relative score in comparison with others. Therefore, these two cannot be compared. For individual scores, percentage is useful and if we want to know where a candidate stands as compared to others, then percentile is useful.

What do percentile scores say about test performance? ›

Percentile ranks cluster around the mean, and they stretch out at the high and low ends of the bell curve. If your child earns a standard score of 100, your child's percentile rank is 50. This means that your child performed as well as or better than 50 percent of children who are his age or in his grade.

How do you interpret test scores by percentile? ›

A percentile (or sometimes centile) rank score bases the interpretation of the client's score in relation to a particular reference group (100 individuals) e.g. If a child is on the 3rd percentile in a group of 100 children, two would perform worse and 97 would perform better than the child if the child is drawn from ...

How to analyze performance testing results? ›

How do you analyze and interpret performance test results and...
  1. Define your goals and criteria.
  2. Collect and visualize your data.
  3. Analyze and interpret your data.
  4. Identify and diagnose the issues.
  5. Recommend and implement the solutions.
  6. Review and refine your process. ...
  7. Here's what else to consider.
Mar 19, 2023

What are the pros and cons of percentile rank? ›

In summary, percentiles offer numerous advantages, such as providing an overview, aiding in comparisons, and identifying outliers. However, they also have limitations in terms of precision, sensitivity to extreme values, and capturing distribution shape.

Top Articles
What Is a Message Digest?
How to Fix URL Problems- 9+ Effective Techniques
Drury Inn & Suites Bowling Green
Parke County Chatter
Dlnet Retiree Login
Craftsman M230 Lawn Mower Oil Change
Mackenzie Rosman Leaked
Pga Scores Cbs
Driving Directions To Fedex
What to Serve with Lasagna (80+ side dishes and wine pairings)
PRISMA Technik 7-10 Baden-Württemberg
2024 Fantasy Baseball: Week 10 trade values chart and rest-of-season rankings for H2H and Rotisserie leagues
Hawkeye 2021 123Movies
Nesb Routing Number
Best Cheap Action Camera
Heska Ulite
Caroline Cps.powerschool.com
George The Animal Steele Gif
Help with Choosing Parts
What is Cyber Big Game Hunting? - CrowdStrike
Bahsid Mclean Uncensored Photo
Bend Pets Craigslist
Craigslist Toy Hauler For Sale By Owner
Vrachtwagens in Nederland kopen - gebruikt en nieuw - TrucksNL
Hyvee Workday
Kirksey's Mortuary - Birmingham - Alabama - Funeral Homes | Tribute Archive
Viha Email Login
Craigslist Pearl Ms
Evil Dead Rise Showtimes Near Pelican Cinemas
Form F-1 - Registration statement for certain foreign private issuers
Aliciabibs
Used Patio Furniture - Craigslist
Synergy Grand Rapids Public Schools
3 Ways to Drive Employee Engagement with Recognition Programs | UKG
Tinyzonehd
Pioneer Library Overdrive
Craigslist Boerne Tx
Dubois County Barter Page
Sedano's Supermarkets Expands to Orlando - Sedano's Supermarkets
Unity Webgl Player Drift Hunters
Retire Early Wsbtv.com Free Book
KITCHENAID Tilt-Head Stand Mixer Set 4.8L (Blue) + Balmuda The Pot (White) 5KSM175PSEIC | 31.33% Off | Central Online
Myql Loan Login
Boone County Sheriff 700 Report
Cookie Clicker The Advanced Method
Why I’m Joining Flipboard
FREE - Divitarot.com - Tarot Denis Lapierre - Free divinatory tarot - Your divinatory tarot - Your future according to the cards! - Official website of Denis Lapierre - LIVE TAROT - Online Free Tarot cards reading - TAROT - Your free online latin tarot re
Chr Pop Pulse
What is a lifetime maximum benefit? | healthinsurance.org
How to Get a Check Stub From Money Network
Land of Samurai: One Piece’s Wano Kuni Arc Explained
Ranking 134 college football teams after Week 1, from Georgia to Temple
Latest Posts
Article information

Author: Pres. Lawanda Wiegand

Last Updated:

Views: 5680

Rating: 4 / 5 (51 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Pres. Lawanda Wiegand

Birthday: 1993-01-10

Address: Suite 391 6963 Ullrich Shore, Bellefort, WI 01350-7893

Phone: +6806610432415

Job: Dynamic Manufacturing Assistant

Hobby: amateur radio, Taekwondo, Wood carving, Parkour, Skateboarding, Running, Rafting

Introduction: My name is Pres. Lawanda Wiegand, I am a inquisitive, helpful, glamorous, cheerful, open, clever, innocent person who loves writing and wants to share my knowledge and understanding with you.