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.1 ≤0.955 sec. 0.956 sec. ≥0.962 sec.
8.0 ≤1.202 sec. 1.217 sec. ≥1.52 sec.
7.4 ≤1.214 sec. 1.501 sec. ≥2.04 sec.
7.3 ≤1.195 sec. 1.398 sec. ≥1.666 sec.
7.2 ≤2.4 sec. 2.406 sec. ≥2.43 sec.
7.1 ≤2.19 sec. 2.538 sec. ≥3.01 sec.
7.0 ≤2.175 sec. 2.576 sec. ≥3.122 sec.
5.6 ≤3.921 sec. 4.668 sec. ≥5.54 sec.
5.4 ≤5.54 sec. 5.54 sec. ≥5.54 sec.

CPU Cores

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

CPU Frequency

πŸš€ (fastest 25%) Median 🐌 (slowest 25%)
≥3989 MHz 3639 MHz ≤2587 MHz