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.0 ≤1.2 sec. 1.209 sec. ≥1.248 sec.
7.4 ≤1.242 sec. 1.512 sec. ≥1.928 sec.
7.3 ≤1.214 sec. 1.451 sec. ≥1.707 sec.
7.2 ≤2.401 sec. 2.407 sec. ≥2.419 sec.
7.1 ≤2.233 sec. 2.572 sec. ≥3.049 sec.
7.0 ≤2.215 sec. 2.64 sec. ≥3.169 sec.
5.6 ≤3.981 sec. 4.742 sec. ≥5.65 sec.
5.4 ≤5.54 sec. 5.54 sec. ≥5.54 sec.

CPU Cores

Top 25% Median Low 25%
≥24 16 ≤16

CPU Frequency

🚀 (fastest 25%) Median 🐌 (slowest 25%)
≥3685 MHz 3649 MHz ≤2593 MHz