Percentile values (perc90, perc95, perc99) available in the TestPlanStats sometimes differ from those in the JMeter Report Dashboard #315
-
|
Hello,
Could you please confirm whether this is indeed the case? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi there! Yes, JMeterDSL uses a different algorithm, and this was a deliberate choice. Long story short, the algorithm in JMeterDSL is more accurate and efficient compared to the ones in JMeter. First of all, JMeter uses at least two different methods to calculate percentiles. One of them, for example, only considers the last 20k results to calculate the percentile. So, if your sample size is larger, it trims the data. Anyways, JMeter’s algorithms can give inconsistent results with small sample sizes, but for larger samples, the difference shouldn’t be significant. There are even better algorithms out there than the one chosen for JMeterDSL, but they tend to be slower or consume more resources. If you want to switch to one of the algorithms used in JMeter, you can definitely do that. For example, you could use a |
Beta Was this translation helpful? Give feedback.
Hi there!
Yes, JMeterDSL uses a different algorithm, and this was a deliberate choice.
Long story short, the algorithm in JMeterDSL is more accurate and efficient compared to the ones in JMeter.
First of all, JMeter uses at least two different methods to calculate percentiles. One of them, for example, only considers the last 20k results to calculate the percentile. So, if your sample size is larger, it trims the data.
Anyways, JMeter’s algorithms can give inconsistent results with small sample sizes, but for larger samples, the difference shouldn’t be significant.
There are even better algorithms out there than the one chosen for JMeterDSL, but they tend to be slower or consume more reso…