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 25 March 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 12.0

Build System: Ninja

OpenBenchmarking.org metrics for this test profile configuration based on 559 public results since 16 April 2021 with the latest data as of 28 March 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)
85th
8
155 +/- 10
84th
4
161 +/- 1
Mid-Tier
75th
> 198
75th
3
199 +/- 1
71st
36
209 +/- 15
67th
3
264 +/- 18
65th
8
292 +/- 3
59th
3
341 +/- 2
Median
50th
399
44th
3
497 +/- 1
38th
24
645 +/- 41
38th
14
653 +/- 48
37th
3
681 +/- 1
34th
10
700 +/- 14
31st
4
823 +/- 109
30th
4
834 +/- 1
28th
4
895 +/- 3
27th
4
947 +/- 52
Low-Tier
25th
> 972
21st
3
1370 +/- 43
21st
3
1370 +/- 1
20th
3
1378 +/- 1
20th
3
1383 +/- 4
19th
3
1450 +/- 4
19th
3
1500 +/- 3
18th
4
1592 +/- 1
17th
3
1607 +/- 2
17th
3
1711 +/- 18
16th
6
1738 +/- 2
16th
4
1738 +/- 1
14th
3
1784 +/- 11
14th
3
1815 +/- 2
13th
5
1891 +/- 5
12th
3
1933 +/- 2
11th
4
2007 +/- 4
10th
6
2032 +/- 16
10th
3
2068 +/- 1
9th
3
2096 +/- 2
8th
3
2164 +/- 8
8th
4
2328 +/- 2
7th
4
2386 +/- 1
6th
3
2515 +/- 1
6th
3
2718 +/- 31
5th
3
2758 +/- 6
5th
3
2849 +/- 7
4th
6
3611 +/- 4
2nd
3
5072 +/- 26
OpenBenchmarking.orgDistribution Of Public Results - Build System: Ninja559 Results Range From 88 To 27736 Seconds88641119417472300285334063959451250655618617167247277783083838936948910042105951114811701122541280713360139131446615019155721612516678172311778418337188901944319996205492110221655222082276123314238672442024973255262607926632271852773880160240320400

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed LLVM Compilation 12.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-Time4080120160200Min: 4 / Avg: 28.95 / Max: 238

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 ScalingBuild System: Ninja4681216324864510152025

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)
RISC-V 64-bit
riscv64
SiFive RISC-V
ARMv8 64-bit
aarch64
ARMv8 Neoverse-N1 80-Core, ARMv8 rev 0 8-Core, Ampere ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 256-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 80-Core

Recent Test Results

OpenBenchmarking.org Results Compare

6 Systems - 53 Benchmark Results

Ampere Altra ARMv8 Neoverse-N1 - WIWYNN Mt.Jade - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 21.04 - 5.11.0-31-generic - 1.0.2

Find More Test Results