FrameworkBenchmarks icon indicating copy to clipboard operation
FrameworkBenchmarks copied to clipboard

[Question] How are ranks (in bar chart) computed

Open waghanza opened this issue 5 years ago • 4 comments

Hi,

When we navigate on https://www.techempower.com/benchmarks/, the default page the last roud result on bar chart.

For example, we have 100% for libreactor and 3.8% for spark on https://www.techempower.com/benchmarks/#section=data-r18&hw=cl&test=plaintext

For the details (Data Table), we have

256 (concurrency) 1024 (concurrency) 4096 (concurrency) 16384 (concurrency)
libreactor 1867993 1853616 1652369 1307490
spark 70972 71035 70276 67051

My question is : how can the above results show that we have 3.8% for spark, if libreactor is the maximum (100%) ?

Regards,

waghanza avatar Feb 07 '20 16:02 waghanza

71,035 / 1,867,993 = ‭0.0380274444283249‬

iirc, we use the highest value among all concurrencies to calculate.

EDIT: Basically, if libreactor is the top performer, then everything is operating at a percentage of its performance. When you look at the best RPS (requests per second) for that test for spark, it is performing at 3.8% of the practical maximum, libreactor.

msmith-techempower avatar Feb 07 '20 16:02 msmith-techempower

then, the calculation you make is mixing concurrency level ?

I mean :

  • 71 035 is on concurrency 1024 for spark
  • 1 867 993 is on concurrency 256 for libreactor

However, if we consider all level of latency, spark is :

  • ~3.80% for concurrency 256
  • ~3.83% for concurrency 1024
  • ~4.25% for concurrency 4096
  • ~5.13% for concurrency 16384

which leads to an average of 4.25% for spark.

Mixing values for different concurrency levels could the lead to some results. So I'm afraid, this method could lead to mis-understandable results.

btw, thank you for you clarification about the 3.8%. I think this information could be documented.

Regards,

waghanza avatar Feb 07 '20 16:02 waghanza

@bhauer Maybe it's worth pointing out how we calculate these percentages and the usage of "best across concurrency levels" in https://www.techempower.com/benchmarks/#section=motivation under Results?

NateBrady23 avatar Feb 07 '20 17:02 NateBrady23

Maybe it's worth pointing out how we calculate these percentages and the usage of "best across concurrency levels" in https://www.techempower.com/benchmarks/#section=motivation under Results?

That would probably help clarify things. It is indeed using the peak performance for each framework from the set of concurrency levels.

bhauer avatar Feb 07 '20 19:02 bhauer