Timed PHP Compilation

This test times how long it takes to build PHP.

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

Project Site

php.net

Source Repository

github.com

Test Created

6 December 2010

Last Updated

1 September 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

26 Seconds

Average Run Time

3 Minutes, 42 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Libxml2

Accolades

300k+ Downloads + 10k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsTimed PHP Compilation Popularity Statisticspts/build-php2010.122011.052011.112012.042012.092013.022013.072013.122014.052014.102015.032015.082016.012016.062016.112017.042017.092018.022018.072018.122019.052019.102020.032020.082021.012021.062021.112022.042022.092023.022023.072023.1220K40K60K80K100K
* 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 26 March 2024.

Revision History

pts/build-php-1.6.0   [View Source]   Thu, 01 Sep 2022 13:50:11 GMT
Update against PHP 8.1 upstream.

pts/build-php-1.5.1   [View Source]   Sat, 08 Feb 2020 21:06:41 GMT
TimesToRun should be 3

pts/build-php-1.5.0   [View Source]   Sat, 08 Feb 2020 21:04:39 GMT
Update against latest upstream, other modernization improvements.

pts/build-php-1.4.0   [View Source]   Sat, 09 Sep 2017 11:18:33 GMT
Update against php 7.1.9 build

pts/build-php-1.3.1   [View Source]   Sun, 29 Jan 2012 11:19:41 GMT
Update upstream PHP 5.2.9 download links.

pts/build-php-1.3.0   [View Source]   Mon, 06 Dec 2010 14:28:38 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

Timed Code Compilation

C/C++ Compiler Tests

Multi-Core

CPU Massive

Server CPU Tests

Programmer / Developer System Benchmarks


Performance Metrics

Analyze Test Configuration:

Timed PHP Compilation 7.4.2

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 2,238 public results since 8 February 2020 with the latest data as of 29 March 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
15
34 +/- 5
90th
11
36 +/- 5
81st
14
39 +/- 4
Mid-Tier
75th
> 42
70th
13
44 +/- 2
70th
13
44 +/- 3
69th
10
45 +/- 2
68th
10
46 +/- 2
61st
12
48 +/- 1
61st
10
48 +/- 2
59th
34
48 +/- 6
58th
3
49 +/- 2
57th
11
50 +/- 2
53rd
13
55 +/- 2
51st
7
56 +/- 2
51st
9
56 +/- 4
Median
50th
57
50th
10
57 +/- 2
50th
11
58 +/- 4
47th
7
60 +/- 4
46th
9
61 +/- 2
45th
10
62 +/- 2
42nd
12
66 +/- 3
41st
16
68 +/- 6
39th
5
72 +/- 10
38th
38
74 +/- 9
38th
6
74 +/- 3
36th
11
77 +/- 2
35th
4
78
33rd
5
82 +/- 11
32nd
4
84 +/- 12
31st
6
86 +/- 5
29th
6
90 +/- 1
29th
3
90 +/- 10
29th
13
92 +/- 2
28th
4
93 +/- 2
27th
4
95 +/- 5
27th
8
96 +/- 2
27th
5
98 +/- 15
27th
4
99 +/- 10
Low-Tier
25th
> 103
25th
8
107 +/- 7
25th
6
109 +/- 12
24th
5
110 +/- 9
24th
4
114 +/- 10
23rd
13
118 +/- 7
20th
14
138 +/- 14
19th
6
139 +/- 2
19th
4
141 +/- 7
18th
3
148 +/- 19
18th
4
151 +/- 9
16th
8
161 +/- 2
16th
6
164 +/- 8
16th
11
165 +/- 16
15th
6
169 +/- 7
15th
3
169 +/- 1
15th
3
169 +/- 12
15th
6
170 +/- 11
14th
4
175 +/- 19
14th
3
180 +/- 27
12th
3
196 +/- 5
12th
3
201 +/- 3
10th
3
228 +/- 13
10th
3
235 +/- 1
10th
3
243 +/- 2
8th
5
280 +/- 33
8th
4
296 +/- 10
6th
3
361 +/- 12
6th
3
453 +/- 6
4th
3
663 +/- 58
1st
11
1580 +/- 168
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile2238 Results Range From 17 To 2251 Seconds1764111158205252299346393440487534581628675722769816863910957100410511098114511921239128613331380142714741521156816151662170917561803185018971944199120382085213221792226227330060090012001500

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed PHP Compilation 7.4.2 - Time To Compile) has an average run-time of 7 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 BenchmarkTime To CompileRun-Time1020304050Min: 1 / Avg: 6.5 / Max: 51

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTime To CompileDeviation246810Min: 0 / Avg: 0.17 / Max: 5

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseTimed PHP Compilation CPU Core ScalingTime To Compile2468101216243248641281.02712.05423.08134.10845.1355

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 POWER (PowerPC) 64-bit
ppc64le
POWER9 24-Core, POWER9 4-Core, POWER9 44-Core, POWER9 8-Core
MIPS 64-bit
mips64
Loongson-3A R4
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 4-Core, ARMv7 Cortex-A15 8-Core, ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A73 6-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 4-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 4-Core, ARMv8 rev 0 6-Core, ARMv8 rev 0 8-Core, Ampere ARMv8 32-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

4 Systems - 44 Benchmark Results

ARMv7 Cortex-A53 - BCM2835 Raspberry Pi 3 Model A Plus Rev 1.0 - 426MB

Raspbian 11 - 6.1.21-v7+ - 1.0.2

6 Systems - 44 Benchmark Results

ARMv7 Cortex-A53 - BCM2835 Raspberry Pi Zero 2 W Rev 1.0 - 426MB

Raspbian 11 - 6.1.21-v7+ - 1.0.2

7 Systems - 300 Benchmark Results

AMD Ryzen 5 PRO 4650U - HP 8760 - AMD Renoir

openSUSE 20231225 - 6.6.6-1-default - GNOME Shell 45.2

6 Systems - 300 Benchmark Results

Intel Core i7-10875H - Dell 0FR8C2 - Intel Comet Lake PCH

Fedora 33 - 5.8.18-300.fc33.x86_64 - GNOME Shell 3.38.1

7 Systems - 300 Benchmark Results

Intel Core i7-6500U - LENOVO 20F600A4MS - Intel Xeon E3-1200 v5

Fedora 33 - 5.9.11-200.fc33.x86_64 - GNOME Shell 3.38.1

14 Systems - 103 Benchmark Results

Intel Xeon Gold 6312U - Supermicro X12SPL-F v2.00 - Intel Device 0998

CentOS Linux 8 - 4.18.0-348.7.1.el8_5.x86_64 - GCC 8.5.0 20210514

13 Systems - 103 Benchmark Results

Intel Xeon Gold 6312U - Supermicro X12SPL-F v2.00 - Intel Device 0998

CentOS Linux 8 - 4.18.0-305.12.1.el8_4.x86_64 - GCC 8.4.1 20200928

13 Systems - 103 Benchmark Results

Intel Xeon Gold 6312U - Supermicro X12SPO-NTF v2.00 - Intel Ice Lake IEH

Rocky Linux 8.8 - 4.18.0-477.13.1.el8_8.x86_64 - GCC 8.5.0 20210514

13 Systems - 103 Benchmark Results

Intel Xeon Gold 6312U - Supermicro X12SPL-F v2.00 - Intel Device 0998

CentOS Linux 8 - 4.18.0-305.12.1.el8_4.x86_64 - GCC 8.4.1 20200928

Find More Test Results