Build2

This test profile measures the time to bootstrap/install the build2 C++ build toolchain from source. Build2 is a cross-platform build toolchain for C/C++ code and features Cargo-like features.

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

Project Site

build2.org

Source Repository

github.com

Test Created

22 November 2019

Last Updated

22 March 2023

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

2 Seconds

Average Run Time

4 Minutes, 58 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Curl

Accolades

40k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsBuild2 Popularity Statisticspts/build22019.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.032024.052K4K6K8K10K
* 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 7 May 2024.

Revision History

pts/build2-1.2.0   [View Source]   Wed, 22 Mar 2023 14:05:31 GMT
Update against Build2 0.15 to fix build on GCC 13.

pts/build2-1.1.0   [View Source]   Wed, 16 Dec 2020 10:29:50 GMT
Update against build2 0.13 for Apple Silicon support, fixes for Ubuntu 20.10 building as well from upstream.

pts/build2-1.0.1   [View Source]   Sun, 17 May 2020 17:10:15 GMT
Fix the SupportedPlatforms bit for macOS.

pts/build2-1.0.0   [View Source]   Fri, 22 Nov 2019 09:28:19 GMT
Initial commit of build2 toolchain benchmark.

Suites Using This Test

Timed Code Compilation

Multi-Core

Programmer / Developer System Benchmarks


Performance Metrics

Analyze Test Configuration:

Build2 0.13

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 1,621 public results since 16 December 2020 with the latest data as of 14 May 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)
87th
18
58 +/- 1
85th
17
60 +/- 3
82nd
14
62 +/- 3
80th
11
63 +/- 1
Mid-Tier
75th
> 67
68th
10
71 +/- 4
66th
16
73 +/- 6
Median
50th
96
50th
7
97 +/- 1
48th
5
106 +/- 1
45th
3
113 +/- 10
45th
32
113 +/- 10
45th
11
113 +/- 4
45th
9
113 +/- 1
44th
3
115 +/- 2
41st
14
121 +/- 9
40th
13
124 +/- 5
40th
8
128 +/- 3
38th
3
131 +/- 1
38th
4
133 +/- 4
37th
10
136 +/- 1
37th
6
136 +/- 1
36th
15
138 +/- 19
36th
6
139 +/- 3
34th
5
146 +/- 1
34th
6
149 +/- 12
33rd
11
156 +/- 11
32nd
10
158 +/- 8
32nd
3
160 +/- 2
31st
6
164 +/- 10
29th
6
174 +/- 14
29th
3
175 +/- 3
28th
9
179 +/- 11
27th
4
181 +/- 1
27th
3
182 +/- 1
27th
3
183 +/- 19
27th
9
188 +/- 15
26th
6
195 +/- 5
Low-Tier
25th
> 197
25th
3
202 +/- 1
25th
7
203 +/- 22
23rd
7
219 +/- 27
22nd
3
231 +/- 28
21st
6
238 +/- 16
21st
5
240 +/- 12
21st
3
240 +/- 22
21st
3
240 +/- 2
20th
5
245 +/- 4
19th
7
251 +/- 2
19th
3
252 +/- 2
18th
4
255 +/- 1
18th
3
255 +/- 1
18th
3
258 +/- 7
16th
3
277 +/- 1
16th
4
279 +/- 1
16th
3
280 +/- 4
15th
3
297 +/- 1
15th
12
321 +/- 23
15th
3
322 +/- 1
14th
3
325 +/- 1
13th
3
338 +/- 1
13th
12
338 +/- 1
13th
3
341 +/- 18
12th
3
347 +/- 4
11th
4
365 +/- 3
11th
3
367 +/- 1
11th
4
372 +/- 30
11th
3
374 +/- 1
10th
3
390 +/- 5
10th
4
393 +/- 2
9th
11
398 +/- 45
9th
3
405 +/- 5
8th
6
441 +/- 38
7th
3
464 +/- 5
7th
3
471 +/- 3
7th
6
473 +/- 43
5th
3
515 +/- 1
3rd
3
645 +/- 33
3rd
3
646 +/- 2
3rd
6
719 +/- 84
3rd
4
774 +/- 3
2nd
4
819 +/- 6
2nd
3
915 +/- 7
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile1621 Results Range From 44 To 2376 Seconds4492140188236284332380428476524572620668716764812860908956100410521100114811961244129213401388143614841532158016281676172417721820186819161964201220602108215622042252230023482396170340510680850

Based on OpenBenchmarking.org data, the selected test / test configuration (Build2 0.13 - Time To Compile) has an average run-time of 9 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: 2 / Avg: 9.17 / Max: 47

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 CompileDeviation246810Min: 0 / Avg: 0.25 / Max: 4

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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseBuild2 CPU Core ScalingTime To Compile24681216182432486412848121620

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 4-Core, POWER9 44-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A57 8-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-X1C, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 32-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 8-Core, ARMv8 Neoverse-V1, ARMv8 rev 0 8-Core, Ampere ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere ARMv8 Neoverse-N1 256-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 80-Core, Ampere eMAG ARMv8 32-Core, Apple M1, Apple M2