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

100k+ 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.0211K22K33K44K55K
* 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 13 April 2024.
Ninja60.2%Unix Makefiles39.8%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 10.0

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 1,420 public results since 24 March 2020 with the latest data as of 30 December 2023.

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)
97th
3
180 +/- 1
90th
7
205 +/- 2
88th
7
212 +/- 13
83rd
10
224 +/- 6
83rd
11
224 +/- 1
83rd
3
225 +/- 3
79th
11
235 +/- 7
78th
28
237 +/- 3
Mid-Tier
75th
> 245
75th
10
248 +/- 4
75th
10
249 +/- 4
75th
6
250 +/- 4
73rd
6
271 +/- 2
72nd
8
278 +/- 2
68th
8
287 +/- 39
68th
10
287 +/- 7
67th
17
289 +/- 7
67th
17
290 +/- 8
65th
3
296 +/- 2
64th
4
307 +/- 1
62nd
11
320 +/- 8
61st
6
327 +/- 9
59th
13
337 +/- 7
57th
23
357 +/- 24
56th
5
364 +/- 42
Median
50th
404
50th
13
407 +/- 12
44th
11
440 +/- 14
44th
6
441 +/- 9
44th
11
446 +/- 9
39th
9
510 +/- 10
38th
39
520 +/- 46
38th
8
526 +/- 36
37th
8
539 +/- 12
36th
7
543 +/- 8
35th
13
551 +/- 46
35th
7
553 +/- 15
33rd
15
594 +/- 23
32nd
3
605 +/- 2
32nd
4
612 +/- 50
29th
18
689 +/- 32
29th
4
689 +/- 28
27th
5
750 +/- 74
26th
6
765 +/- 9
Low-Tier
25th
> 769
25th
3
777 +/- 66
25th
7
778 +/- 45
25th
14
781 +/- 16
23rd
16
809 +/- 39
22nd
5
820 +/- 10
22nd
5
822 +/- 14
21st
3
835 +/- 1
21st
6
838 +/- 89
21st
6
842 +/- 28
19th
4
922 +/- 1
19th
4
934 +/- 99
18th
3
988 +/- 22
18th
3
1020 +/- 89
17th
4
1053 +/- 151
16th
4
1084 +/- 146
16th
4
1090 +/- 37
16th
3
1126 +/- 35
16th
4
1144 +/- 75
15th
5
1220 +/- 97
15th
4
1221 +/- 22
14th
3
1228 +/- 2
13th
4
1358 +/- 33
13th
6
1364 +/- 8
12th
6
1451 +/- 208
12th
5
1490 +/- 3
11th
4
1599 +/- 10
10th
4
1651 +/- 48
10th
3
1690 +/- 2
9th
3
1798 +/- 212
9th
3
1801 +/- 48
9th
3
1836 +/- 17
8th
6
1938 +/- 155
8th
3
1994 +/- 20
7th
3
2163 +/- 164
6th
3
2335 +/- 286
6th
3
2340 +/- 18
5th
5
2400 +/- 189
4th
3
2846 +/- 287
2nd
3
3726 +/- 21
2nd
4
3877 +/- 281
2nd
4
4867 +/- 13
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile1420 Results Range From 4 To 17716 Seconds43597141069142417792134248928443199355439094264461949745329568460396394674971047459781481698524887992349589994410299106541100911364117191207412429127841313913494138491420414559149141526915624159791633416689170441739917754130260390520650

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed LLVM Compilation 10.0 - Time To Compile) has an average run-time of 35 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-Time4080120160200Min: 8 / Avg: 34.16 / Max: 201

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTime To CompileDeviation246810Min: 0 / Avg: 0.54 / 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 BaseTimed LLVM Compilation CPU Core ScalingTime To Compile468121620243248641283691215

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
POWER8, POWER9 24-Core, POWER9 4-Core, POWER9 44-Core
ARMv7 32-bit
armv7l
ARMv7 rev 3 4-Core
ARMv8 64-bit
arm64
Apple M1
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 rev 0 6-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 4 Benchmark Results

AMD EPYC 7763 64-Core - ASRockRack ROMED8-2T/BCM v3.01 - AMD Starship

Ubuntu 22.04 - 5.15.0-91-generic - X Server 1.21.1.4

20 Systems - 119 Benchmark Results

2 x Intel Xeon Platinum 8375C - Supermicro X12DPi-N6 v1.00 - Intel Device 0998

Ubuntu 19.10 - 5.3.0-64-generic - GNOME Shell 3.34.1

19 Systems - 119 Benchmark Results

2 x Intel Xeon Platinum 8259L - ASRockRack EP2C621D16-4LP - Intel Sky Lake-E DMI3 Registers

Ubuntu 19.10 - 5.3.0-64-generic - GNOME Shell 3.34.1

7 Systems - 300 Benchmark Results

Intel Core i5-8265U - LENOVO 20Q0S1RG00 - Intel Cannon Point-LP

Fedora Linux 38 - 6.6.4-100.fc38.x86_64 - GNOME Shell 44.6

18 Systems - 119 Benchmark Results

Intel Xeon Platinum 8280 - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 5.4.0-18-generic - GNOME Shell 3.36.0

6 Systems - 300 Benchmark Results

AMD Ryzen 7 4800H - TUXEDO s POLARIS1501A2060 - AMD Renoir Root Complex

Fedora 33 - 5.9.14-200.fc33.x86_64 - GNOME Shell 3.38.2

7 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

17 Systems - 119 Benchmark Results

2 x Intel Xeon Platinum 8272CL - ASRockRack EP2C621D16-4LP - Intel Sky Lake-E DMI3 Registers

Ubuntu 19.10 - 5.3.0-64-generic - GNOME Shell 3.34.1

17 Systems - 119 Benchmark Results

Intel Xeon Platinum 8259L - ASRockRack EP2C621D16-4LP - Intel Sky Lake-E DMI3 Registers

Ubuntu 19.10 - 5.3.0-64-generic - GNOME Shell 3.34.1

Find More Test Results