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.1111K22K33K44K55K
* 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 3 December 2023.
Ninja59.4%Unix Makefiles40.6%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 917 public results since 22 March 2023 with the latest data as of 29 November 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)
93rd
6
124 +/- 10
89th
7
134 +/- 12
81st
14
171 +/- 15
77th
6
183 +/- 1
76th
4
186 +/- 12
Mid-Tier
75th
> 187
68th
3
261 +/- 13
67th
19
264 +/- 2
58th
9
308 +/- 1
Median
50th
347
42nd
6
437 +/- 2
40th
4
466 +/- 2
40th
3
473 +/- 1
39th
3
494 +/- 7
30th
13
701 +/- 27
28th
5
751 +/- 60
26th
4
888 +/- 8
Low-Tier
25th
> 910
25th
3
918 +/- 84
24th
6
940 +/- 44
24th
4
964 +/- 1
23rd
10
981 +/- 1
21st
6
1075 +/- 110
21st
4
1088 +/- 92
20th
7
1098 +/- 56
19th
3
1152 +/- 1
18th
8
1209 +/- 49
17th
9
1232 +/- 29
15th
8
1305 +/- 21
14th
5
1342 +/- 1
13th
3
1474 +/- 11
12th
3
1517 +/- 7
11th
3
1620 +/- 6
11th
3
1639 +/- 2
9th
18
1711 +/- 32
8th
3
1903 +/- 1
8th
3
1989 +/- 13
7th
3
2006 +/- 6
7th
3
2113 +/- 11
6th
8
2139 +/- 196
5th
4
2900 +/- 10
5th
3
3034 +/- 124
3rd
4
5340 +/- 5
OpenBenchmarking.orgDistribution Of Public Results - Build System: Ninja917 Results Range From 81 To 20765 Seconds81495909132317372151256529793393380742214635504954635877629167057119753379478361877591899603100171043110845112591167312087125011291513329137431415714571149851539915813162271664117055174691788318297187111912519539199532036720781120240360480600

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed LLVM Compilation 16.0 - Build System: Ninja) has an average run-time of 38 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-Time60120180240300Min: 4 / Avg: 37.76 / Max: 332

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsBuild System: NinjaDeviation246810Min: 0 / Avg: 0.06 / Max: 2

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: Ninja468121632642.374.747.119.4811.85

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
aarch64
ARMv8, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 160-Core, Apple M1 Pro