Timed LLVM Compilation

This test times how long it takes to compile/build the LLVM compiler stack.

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

Project Site

llvm.org

Source Repository

github.com

Test Created

27 August 2017

Last Updated

22 March 2023

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

2 Seconds

Average Run Time

54 Minutes, 13 Seconds

Test Dependencies

C/C++ Compiler Toolchain + CMake + Python

Accolades

150k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsTimed LLVM Compilation Popularity Statisticspts/build-llvm2017.082017.112018.022018.052018.082018.112019.022019.052019.082019.112020.022020.052020.082020.112021.022021.052021.082021.112022.022022.052022.082022.112023.022023.052023.082023.112024.022024.052024.082024.1112K24K36K48K60K
* 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 November 2024.
Ninja65.1%Unix Makefiles34.9%Build System Option PopularityOpenBenchmarking.org

Revision History

pts/build-llvm-1.5.0   [View Source]   Wed, 22 Mar 2023 11:12:53 GMT
Update against LLVM 16.0 to fix GCC 13 build issues.

pts/build-llvm-1.4.0   [View Source]   Fri, 01 Oct 2021 14:29:57 GMT
Update against LLVM 13.0 upstream. Also fix: https://github.com/phoronix-test-suite/openbenchmarking/issues/15

pts/build-llvm-1.3.1   [View Source]   Fri, 16 Apr 2021 08:04:57 GMT
Fix possible shell script issue based on the interpreter.

pts/build-llvm-1.3.0   [View Source]   Fri, 16 Apr 2021 05:40:02 GMT
Update against LLVM 12.0 upstream, also add build system option for those wanting Ninja builds.

pts/build-llvm-1.2.1   [View Source]   Sat, 12 Sep 2020 16:11:15 GMT
Drop Windows support as it seems to have problems running now.

pts/build-llvm-1.2.0   [View Source]   Tue, 24 Mar 2020 14:28:14 GMT
Update against LLVM 10.0.

pts/build-llvm-1.1.0   [View Source]   Wed, 15 Aug 2018 08:56:02 GMT
Update against LLVM 6.0.1 upstream as LLVM 4.0 these days seems to be having build problems under newer compilers.

pts/build-llvm-1.0.1   [View Source]   Thu, 08 Mar 2018 19:17:13 GMT
Windows support.

pts/build-llvm-1.0.0   [View Source]   Sun, 27 Aug 2017 20:32:05 GMT
Initial commit of a timed LLVM compilation test profile.

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 LLVM Compilation 16.0

Build System: Ninja

OpenBenchmarking.org metrics for this test profile configuration based on 2,017 public results since 22 March 2023 with the latest data as of 19 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)
98th
24
77 +/- 1
91st
13
104 +/- 1
84th
17
127 +/- 7
82nd
9
133 +/- 5
80th
17
142 +/- 10
Mid-Tier
75th
> 169
74th
25
176 +/- 16
72nd
16
181 +/- 9
70th
4
186 +/- 12
69th
15
189 +/- 16
69th
12
190 +/- 8
65th
7
210 +/- 6
60th
5
263 +/- 11
59th
20
264 +/- 2
53rd
3
296 +/- 18
52nd
3
300 +/- 42
Median
50th
304
48th
32
322 +/- 21
45th
17
334 +/- 20
43rd
5
349 +/- 17
41st
3
366 +/- 12
39th
3
392 +/- 13
37th
23
413 +/- 24
36th
8
436 +/- 1
35th
13
461 +/- 26
34th
3
473 +/- 1
33rd
5
486 +/- 44
33rd
5
489 +/- 36
33rd
3
494 +/- 7
33rd
6
497 +/- 5
29th
10
561 +/- 14
29th
20
562 +/- 29
29th
16
573 +/- 36
26th
4
638 +/- 3
26th
8
665 +/- 36
Low-Tier
25th
> 673
25th
7
673 +/- 11
25th
4
682 +/- 27
23rd
17
715 +/- 35
23rd
6
719 +/- 15
23rd
7
723 +/- 44
23rd
5
751 +/- 60
22nd
13
780 +/- 82
21st
15
794 +/- 23
20th
9
827 +/- 26
19th
7
861 +/- 29
18th
4
888 +/- 8
17th
3
918 +/- 84
16th
9
962 +/- 117
16th
4
964 +/- 1
16th
10
981 +/- 1
15th
9
1032 +/- 109
14th
7
1098 +/- 56
14th
6
1105 +/- 99
13th
5
1155 +/- 5
13th
6
1177 +/- 165
13th
5
1186 +/- 52
12th
4
1241 +/- 1
11th
8
1255 +/- 100
11th
10
1274 +/- 137
11th
6
1280 +/- 87
10th
5
1342 +/- 1
9th
9
1348 +/- 128
9th
15
1371 +/- 187
9th
4
1462 +/- 166
9th
3
1474 +/- 11
8th
3
1517 +/- 7
8th
3
1620 +/- 6
6th
18
1711 +/- 32
6th
5
1754 +/- 157
6th
3
1903 +/- 1
6th
3
1989 +/- 13
5th
10
2087 +/- 99
5th
3
2113 +/- 11
5th
8
2139 +/- 196
4th
3
2870 +/- 7
3rd
5
2966 +/- 147
3rd
4
3077 +/- 132
2nd
4
5340 +/- 5
OpenBenchmarking.orgDistribution Of Public Results - Build System: Ninja2013 Results Range From 62 To 50842 Seconds621078209431104126514261587174819092061022211238122541327014286153021631817334183501936620382213982241423430244462546226478274942851029526305423155832574335903460635622366383765438670396864070241718427344375044766457824679847814488304984650862400800120016002000

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed LLVM Compilation 16.0 - Build System: Ninja) has an average run-time of 29 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 BenchmarkBuild System: NinjaRun-Time50100150200250Min: 3 / Avg: 28.82 / Max: 287

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 RunsBuild System: NinjaDeviation3691215Min: 0 / Avg: 0.29 / Max: 9

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 LLVM Compilation CPU Core ScalingBuild System: Ninja4681012141624324856649612819248121620

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)
ARMv8 64-bit
arm64
Apple M1, Apple M2 Pro, Apple M3 Max, Apple M4, Apple M4 Max
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 160-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2, ARMv8 Neoverse-V2 72-Core, ARMv8 Neoverse-V2 96-Core, AmpereOne 128-Core, AmpereOne 160-Core, AmpereOne 192-Core, AmpereOne 32-Core, AmpereOne 64-Core, AmpereOne 72-Core, AmpereOne 96-Core, Apple M1 Pro, Rockchip ARMv8 Cortex-A76 4-Core, rk1-mainline-emmc, rk1-mainline-nvme, rk1-rok-emmc, rk1-rok-emmc6