PHP Micro Benchmarks

Various small PHP micro-benchmarks.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark php.

Project Site

php.net

Test Created

23 November 2018

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

9 Seconds

Average Run Time

30 Seconds

Accolades

20k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsPHP Micro Benchmarks Popularity Statisticspts/php2018.112019.012019.032019.052019.072019.092019.112020.012020.032020.052020.072020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112K4K6K8K10K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data current as of 4 December 2022.
Zend micro_bench49.3%Zend bench50.7%Test Option PopularityOpenBenchmarking.org

Revision History

pts/php-1.0.0   [View Source]   Fri, 23 Nov 2018 13:42:38 GMT
Initial commit.

Suites Using This Test

Server


Performance Metrics

Analyze Test Configuration:

PHP Micro Benchmarks

Test: Zend bench

OpenBenchmarking.org metrics for this test profile configuration based on 1,176 public results since 23 November 2018 with the latest data as of 29 November 2022.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
Seconds (Average)
97th
6
0.262 +/- 0.002
94th
11
0.307 +/- 0.020
90th
5
0.335 +/- 0.001
88th
4
0.349 +/- 0.006
86th
15
0.362 +/- 0.002
79th
80
0.396 +/- 0.002
Mid-Tier
75th
> 0.400
73rd
13
0.407 +/- 0.044
73rd
4
0.407 +/- 0.006
73rd
19
0.410 +/- 0.002
69th
6
0.416 +/- 0.001
63rd
4
0.446 +/- 0.002
61st
10
0.455 +/- 0.058
60th
4
0.462 +/- 0.046
57th
6
0.483 +/- 0.002
57th
7
0.486 +/- 0.018
57th
10
0.490 +/- 0.020
55th
3
0.496 +/- 0.002
51st
10
0.520 +/- 0.020
Median
50th
0.520
48th
20
0.540 +/- 0.010
42nd
3
0.560 +/- 0.020
41st
12
0.570 +/- 0.060
36th
4
0.650 +/- 0.080
29th
3
0.765 +/- 0.002
Low-Tier
25th
> 0.951
24th
8
1.040 +/- 0.030
22nd
4
1.160 +/- 0.020
17th
3
1.500 +/- 0.030
15th
13
1.595 +/- 0.004
14th
7
1.630 +/- 0.010
7th
3
2.208 +/- 0.252
5th
7
2.550 +/- 0.060
4th
3
2.962 +/- 0.307
OpenBenchmarking.orgDistribution Of Public Results - Test: Zend bench1176 Results Range From 0 To 11 Seconds0.9171.8342.7513.6684.5855.5026.4197.3368.2539.1710.08711.0042004006008001000

Based on OpenBenchmarking.org data, the selected test / test configuration (PHP Micro Benchmarks - Test: Zend bench) has an average run-time of 2 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkTest: Zend benchRun-Time246810Min: 1 / Avg: 1 / Max: 1

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.9%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Zend benchDeviation3691215Min: 0 / Avg: 0.91 / Max: 11

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
IBM Z
s390x
(Many Processors)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core, POWER9 8-Core, POWER9 altivec supported 44-Core
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A15, ARMv7 Cortex-A15 8-Core, ARMv7 Cortex-A72 4-Core, ARMv7 rev 1 4-Core, ARMv7 rev 10 4-Core, ARMv7 rev 2 4-Core, ARMv7 rev 3 4-Core, ARMv7 rev 3 8-Core, ARMv7 rev 4 4-Core, Pi 4 2GB 32-bit
ARMv8 64-bit
arm64
Apple M1
ARMv8 64-bit
aarch64
ARMVv8 Cortex-A73 6-Core, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 2-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A72 6-Core, ARMv8 Cortex-A72 8-Core, ARMv8 Cortex-A73, ARMv8 Cortex-A73 8-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 2-Core, ARMv8 Neoverse-V1, ARMv8 rev 0 8-Core, ARMv8 rev 1 4-Core, ARMv8 rev 3 4-Core, Ampere eMAG ARMv8 16-Core, Ampere eMAG ARMv8 32-Core, Ampere eMAG ARMv8 4-Core, Ampere eMAG ARMv8 8-Core, Apple M1, Apple M2, Phytium FT1500A, Pi 4 2GB 64-bit, Rockchip ARMVv8 Cortex-A72 6-Core