Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please type your username.

Please type your E-Mail.

Please choose an appropriate title for the post.

Please choose the appropriate section so your post can be easily searched.

Please choose suitable Keywords Ex: post, video.

Browse

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Contact Us
Home/ Questions/Q 5997

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Latest Questions

Author
  • 60k
Author
Asked: November 27, 20242024-11-27T02:27:09+00:00 2024-11-27T02:27:09+00:00

Why standard deviation is important in performance tests

  • 60k

Many performance testers focus on metrics such as average response time, median and percentiles to diagnose potential performance errors. Because of this, “side” metrics such as standard deviation, among others, are overlooked. This is a particular mistake, as the devil is in the details. So what is standard deviation?

What is standard deviation

The mathematical formula for standard deviation is as follows:

s = √(s^2) = √(Σ(x – X̄)^2 / n)

Blah blah blah… Let's skip the math and get to the specifics.

Why does standard deviation affect performance analysis?

A small standard deviation means that the data is highly concentrated around the mean, while a large standard deviation indicates a greater dispersion of values around the mean. This is useful when comparing data distributions. For us, as performance testers, a large standard deviation means that there is a sizable discrepancy between the results obtained.

For example – if the standard deviation for response times is high, it will mean to us that the discrepancy between results in response times is large. This could indicate potential performance problems in the application.

How to calculate the standard deviation

If we already know why it has such a big impact on performance, let's take a “peasant” look at how to calculate the standard deviation.

  1. Calculate the average value of the data by summing all the values and dividing by the number of elements in the data set (n).
  2. For each data value, calculate the difference between that value and the mean.
  3. Raise each difference to the square.
  4. Calculate the sum of squares of the differences.
  5. Divide the sum of squares of the differences by the number of elements in the data set minus 1 (n-1). This is the variance.
  6. Calculate the square root of the variance. This is the standard deviation.

To simplify the calculation, let's assume that our test results look as follows:

Step RT 1 RT 2 RT 3 RT 4 RT 5 Average Percentil 90
Login 3 4 1 3 2 2.6 4
Register 2 5 1 3 29 8 29
Blog 1 4 3 2 1 2.2 4
Check post 3 2 3 3 3 2.8 3

RT Means response time indicated in seconds. The calculated data for each step looks as follows:

Step RT 1 RT 2 RT 3 RT 4 RT 5 Average Percentil 90 Standard deviation
Login 3 4 1 3 2 2.6 4 1.01
Register 2 5 1 3 29 8 29 10.58
Blog 1 4 3 2 1 2.2 4 1.16
Check post 3 2 3 3 3 2.8 3 0.4

Analyzing the standard deviation of the above table, we can conclude that potential performance problems occur at the Register step.

Summary

Standard deviation is a mathematical measure that can easily give us information that there are potential performance problems in an application. We can use standard deviation for both response times and other measures.

performancetestingwebdev
  • 0 0 Answers
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question

Stats

  • Questions 4k
  • Answers 0
  • Best Answers 0
  • Users 2k
  • Popular
  • Answers
  • Author

    Insights into Forms in Flask

    • 0 Answers
  • Author

    Kick Start Your Next Project With Holo Theme

    • 0 Answers
  • Author

    Refactoring for Efficiency: Tackling Performance Issues in Data-Heavy Pages

    • 0 Answers

Top Members

Samantha Carter

Samantha Carter

  • 0 Questions
  • 20 Points
Begginer
Ella Lewis

Ella Lewis

  • 0 Questions
  • 20 Points
Begginer
Isaac Anderson

Isaac Anderson

  • 0 Questions
  • 20 Points
Begginer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help

Footer

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore, ask, and connect. Join our vibrant Q&A community today!

About Us

  • About Us
  • Contact Us
  • All Users

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • Knowledge Base
  • Support

Follow

© 2022 Querify Question. All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.