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

7 April 2024

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

21 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.122024.052024.1020K40K60K80K100K
* 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 20 December 2024.

Revision History

pts/build-php-1.7.0   [View Source]   Sun, 07 Apr 2024 12:13:52 GMT
Update against PHP 8.3.4 to fix GCC 14 building.

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 8.1.9

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 1,134 public results since 1 September 2022 with the latest data as of 4 November 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)
91st
17
35 +/- 5
Mid-Tier
75th
> 43
53rd
9
56 +/- 4
52nd
10
57 +/- 3
Median
50th
58
47th
7
63 +/- 4
44th
8
66 +/- 3
43rd
4
68 +/- 4
41st
12
70 +/- 2
39th
3
71 +/- 6
39th
3
72 +/- 3
35th
3
79 +/- 2
35th
12
79 +/- 6
34th
4
81 +/- 3
33rd
4
84 +/- 9
31st
4
88 +/- 3
28th
20
97 +/- 10
Low-Tier
25th
> 105
23rd
3
115 +/- 9
23rd
9
119 +/- 12
23rd
3
120 +/- 1
20th
4
128
19th
6
132 +/- 14
19th
3
133 +/- 6
17th
4
138 +/- 4
13th
3
176 +/- 1
13th
3
178 +/- 4
12th
3
187 +/- 21
12th
4
188 +/- 26
7th
4
302 +/- 2
6th
3
319 +/- 3
1st
6
1277 +/- 182
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile1134 Results Range From 26 To 4379 Seconds261142022903784665546427308189069941082117012581346143415221610169817861874196220502138222623142402249025782666275428422930301831063194328233703458354636343722381038983986407441624250433844262004006008001000

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed PHP Compilation 8.1.9 - 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-Time1122334455Min: 2 / Avg: 6.61 / Max: 58

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTime To CompileDeviation3691215Min: 0 / Avg: 0.35 / Max: 11

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 Compile468121416243264961.41252.8254.23755.657.0625

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
POWER8E
ARMv7 32-bit
armv7l
ARMv7 Cortex-A7 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-X1C, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V1 64-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1, Apple M1 Pro, Apple M2, Rockchip ARMv8 Cortex-A76 4-Core, Rockchip ARMv8 Cortex-A76 6-Core, rk1-mainline-emmc, rk1-mainline-nvme, rk1-rok-emmc, rk1-rok-emmc6

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 27 Benchmark Results

AMD Ryzen 7 9800X3D 8-Core - 32GB - 1789GB

Ubuntu 20.04 - 4.4.0-22621-Microsoft - X Server

3 Systems - 242 Benchmark Results

AMD Ryzen 7 2700X Eight-Core - ASRock B450M-HDV R4.0 - AMD 17h

Linuxmint 22 - 6.8.0-38-generic - Cinnamon 6.2.9

2 Systems - 76 Benchmark Results

3 Systems - 19 Benchmark Results

AMD Ryzen 9 7945HX - Shenzhen Meigao Electronic Equipment DRFXI - AMD Device 14d8

Ubuntu 22.04 - 6.5.0-45-generic - GNOME Shell 42.9

2 Systems - 19 Benchmark Results

AMD Ryzen 9 7945HX - Shenzhen Meigao Electronic Equipment DRFXI - AMD Device 14d8

Ubuntu 22.04 - 6.5.0-45-generic - GNOME Shell 42.9

Find More Test Results