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

11 Seconds

Average Run Time

33 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.112023.012023.032023.052023.072023.092023.112024.012024.032K4K6K8K10K
* 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 updated weekly as of 22 April 2024.
Zend micro_bench49.0%Zend bench51.0%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,191 public results since 23 November 2018 with the latest data as of 19 April 2024.

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)
95th
6
0.262 +/- 0.002
91st
11
0.307 +/- 0.020
88th
3
0.330 +/- 0.001
86th
5
0.335 +/- 0.001
84th
4
0.349 +/- 0.006
82nd
17
0.362 +/- 0.003
Mid-Tier
75th
> 0.395
74th
80
0.396 +/- 0.002
70th
4
0.407 +/- 0.006
70th
19
0.410 +/- 0.002
67th
6
0.416 +/- 0.001
61st
4
0.446 +/- 0.002
60th
10
0.455 +/- 0.058
60th
5
0.457 +/- 0.067
59th
4
0.462 +/- 0.046
58th
6
0.483 +/- 0.002
57th
7
0.486 +/- 0.018
56th
3
0.496 +/- 0.002
Median
50th
0.530
49th
20
0.540 +/- 0.010
44th
3
0.560 +/- 0.020
43rd
12
0.570 +/- 0.060
36th
4
0.650 +/- 0.080
33rd
3
0.691 +/- 0.017
30th
3
0.765 +/- 0.002
Low-Tier
25th
> 0.993
23rd
4
1.160 +/- 0.020
18th
3
1.500 +/- 0.030
16th
13
1.595 +/- 0.004
15th
7
1.630 +/- 0.010
7th
3
2.208 +/- 0.252
6th
7
2.550 +/- 0.060
4th
3
2.779 +/- 0.019
4th
3
2.962 +/- 0.307
OpenBenchmarking.orgDistribution Of Public Results - Test: Zend bench1189 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 1%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Zend benchDeviation3691215Min: 0 / Avg: 1 / 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
Loongson LoongArch 64-bit
loongarch64
(Many Processors)
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, Apple M1 Pro
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