Server Benchmark
This benchmark measures php runtime performance on your server. The result will heavily depend on your cpu. The script does not benchmark network or storage. It's absolutely safe to run, because only one cpu core will be used for a couple of seconds. By default this script will send anonymized results to commerce.score.io. We use this data to calculate the results table below.
The script is located here: https://github.com/commerce-score/php-benchmark
How to run the script
# via docker
docker run --rm commercescore/php-benchmark:7.3.18
# via ssh or cli
curl -Lso- https://raw.githubusercontent.com/commerce-score/php-benchmark/master/benchmark.php | php
Benchmark Results
| PHP Version | 🚀 (fastest 25%) | Median | 🐌 (slowest 25%) |
|---|---|---|---|
| 8.5 | ≤0.915 sec. | 1.588 sec. | ≥1.798 sec. |
| 8.4 | ≤0.64 sec. | 0.974 sec. | ≥1.087 sec. |
| 8.3 | ≤1.199 sec. | 1.199 sec. | ≥1.2 sec. |
| 8.2 | ≤1.046 sec. | 1.223 sec. | ≥1.495 sec. |
| 8.1 | ≤1.076 sec. | 1.294 sec. | ≥1.603 sec. |
| 8.0 | ≤1.346 sec. | 1.456 sec. | ≥1.759 sec. |
| 7.4 | ≤1.213 sec. | 1.465 sec. | ≥1.998 sec. |
| 7.3 | ≤1.209 sec. | 1.438 sec. | ≥1.713 sec. |
| 7.2 | ≤2.4 sec. | 2.406 sec. | ≥2.43 sec. |
| 7.1 | ≤2.19 sec. | 2.529 sec. | ≥3.003 sec. |
| 7.0 | ≤2.165 sec. | 2.551 sec. | ≥3.092 sec. |
| 5.6 | ≤3.928 sec. | 4.672 sec. | ≥5.631 sec. |
| 5.4 | ≤5.54 sec. | 5.54 sec. | ≥5.54 sec. |
CPU Cores
| Top 25% | Median | Low 25% |
|---|---|---|
| ≥24 | 24 | ≤24 |
CPU Frequency
| 🚀 (fastest 25%) | Median | 🐌 (slowest 25%) |
|---|---|---|
| ≥2900 MHz | 2900 MHz | ≤2900 MHz |