question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What does p99 and p95 mean?

See original GitHub issue

I have read the issue https://github.com/artilleryio/artillery/issues/91 but it doesn’t say whether it is average or max of 99% / 95% of requests. I got a report like this:

"latency": {
      "min": 9.2,
      "max": 15530.7,
      "median": 18.6,
      "p95": 6580.9,
      "p99": 9168.2
    }

You can see that the median is very small but the p95 and p99 are very large. According to the doc:

Request latency is in milliseconds, and p95 and p99 values are the 95th and 99th percentile values (a request latency p99 value of 500ms means that 99 out of 100 requests took 500ms or less to complete).

It says 99 out of 100 requests took 500ms or less. Does it cut the top 1% (most expensive) off and measure the rest 99% of requests? Whether the p99 value is the average or max latency of the 99% of request. Take above as an example, if there is only one request took 9168.2ms, is the p99 9168.2ms?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
hassycommented, Oct 16, 2019

median is the same as p50 (and not the same as average, Artillery does not report averages as those are not useful as a measurement of latency). p99 of 9168.2 means that 99% of requests took less than that amount of time to complete.

1reaction
michaelsnyder-mbcommented, Oct 6, 2022

Hi Guys, can you please give an example to understand p50, p95 & p99 and how it will be helpful?

These numbers are the percentage of the time the value will be above the comparison value. So, p99 means 99% of values are below the p99 value. p95 = 95%, p50 = 50%.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is P99 latency? - Stack Overflow
It's 99th percentile. It means that 99% of the requests should be faster than given latency. In other words only 1% of the...
Read more >
Latency Percentiles are Incorrect P99 of the Times - Last9
What is P95 and P99 latency? Say there are 100 distinct records, 95th percentile is the one which covers 95% of the records....
Read more >
What is p99 latency? - Quora
P99 latency means that in internet traffic, 99% of transmitted data must beat the latency time. That means that 99% of your traffic...
Read more >
How to lower p99 latency by geo-partitioning data
P99 latency is the 99th latency percentile. This means 99% of requests will be faster than the given latency number. Put differently, only...
Read more >
How to metric - Medium
P50, P90, P99 latency. This is the amount of time the server spends processing each HTTP request, between the time the request arrives...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found