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 21 April 2024.
Ninja60.3%Unix Makefiles39.7%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 13.0

Build System: Ninja

OpenBenchmarking.org metrics for this test profile configuration based on 1,504 public results since 1 October 2021 with the latest data as of 21 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)
96th
14
97 +/- 8
89th
14
111 +/- 8
79th
23
143 +/- 8
77th
21
151 +/- 10
76th
5
157 +/- 10
Mid-Tier
75th
> 159
72nd
10
172 +/- 14
69th
7
190 +/- 10
68th
13
193 +/- 11
67th
6
214 +/- 11
66th
10
223 +/- 13
65th
4
229 +/- 4
63rd
11
244 +/- 15
58th
28
273 +/- 37
58th
4
273 +/- 5
56th
8
298 +/- 13
54th
3
343 +/- 8
54th
3
344 +/- 4
Median
50th
363
50th
43
369 +/- 37
48th
12
384 +/- 32
48th
15
389 +/- 14
47th
7
399 +/- 25
43rd
11
460 +/- 20
42nd
3
468 +/- 4
38th
7
544 +/- 19
37th
7
551 +/- 5
35th
3
588 +/- 11
34th
4
598 +/- 1
33rd
4
607 +/- 1
32nd
33
618 +/- 42
31st
14
636 +/- 48
30th
7
642 +/- 67
28th
12
687 +/- 28
27th
5
708 +/- 21
27th
5
710 +/- 1
26th
8
722 +/- 43
Low-Tier
25th
> 745
25th
4
780 +/- 55
24th
8
802 +/- 36
23rd
8
840 +/- 37
22nd
4
872 +/- 5
20th
9
947 +/- 76
20th
8
964 +/- 70
20th
3
972 +/- 110
19th
3
1024 +/- 20
18th
8
1036 +/- 30
18th
12
1078 +/- 158
17th
3
1123 +/- 122
17th
4
1160 +/- 5
16th
4
1185 +/- 16
16th
4
1187 +/- 71
16th
5
1230 +/- 97
15th
3
1238 +/- 2
14th
20
1266 +/- 4
14th
3
1277 +/- 7
13th
3
1293 +/- 150
13th
6
1325 +/- 57
13th
3
1336 +/- 90
13th
5
1352 +/- 59
12th
3
1420 +/- 16
11th
5
1570 +/- 69
11th
3
1605 +/- 1
11th
3
1615 +/- 33
10th
3
1636 +/- 29
9th
3
1755 +/- 2
9th
6
1764 +/- 17
8th
4
1861 +/- 7
8th
4
1886 +/- 68
8th
3
1974 +/- 3
7th
3
2095 +/- 1
7th
4
2122 +/- 89
7th
4
2123 +/- 3
6th
3
2196 +/- 3
5th
8
2439 +/- 36
5th
3
2450 +/- 81
3rd
5
3262 +/- 220
3rd
6
3507 +/- 135
1st
4
4986 +/- 50
1st
3
12410 +/- 53
OpenBenchmarking.orgDistribution Of Public Results - Build System: Ninja1504 Results Range From 65 To 27057 Seconds656051145168522252765330538454385492554656005654570857625816587059245978510325108651140511945124851302513565141051464515185157251626516805173451788518425189651950520045205852112521665222052274523285238252436524905254452598526525270652004006008001000

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed LLVM Compilation 13.0 - Build System: Ninja) has an average run-time of 28 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-Time306090120150Min: 4 / Avg: 27.88 / Max: 188

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.08 / Max: 5

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: Ninja468101216243264128612182430

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
IBM POWER (PowerPC) 64-bit
ppc64le
POWER8E
ARMv8 64-bit
arm64
Apple M1, Apple M1 Pro
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-X1C, ARMv8 Neoverse-N1, ARMv8 Neoverse-V1, Ampere ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere ARMv8 Neoverse-N1 256-Core, Ampere eMAG ARMv8 32-Core, Apple M1, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 72 Benchmark Results

AMD Ryzen 5 5600G - MSI MAG B550M MORTAR - 28GB

NixOS 21.11 - 5.10.109 - X Server

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

1 System - 2 Benchmark Results

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

1 System - 2 Benchmark Results

Intel Core i5-10500 - Dell 0NDYHG - Intel Tiger Lake-H

Debian 12 - 6.1.0-13-amd64 - GCC 12.2.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

13 Systems - 333 Benchmark Results

Intel Core i9-12900K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Device 7aa7

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

5 Systems - 94 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 c6g.4xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-1004-aws - GCC 11.2.0

11 Systems - 119 Benchmark Results

Intel Core i9-12900K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Device 7aa7

Ubuntu 21.10 - 5.16.0-051600rc8-generic - GNOME Shell 40.5

4 Systems - 541 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 22.04 - 5.17.4-051704-generic - GNOME Shell 42.0

15 Systems - 182 Benchmark Results

Intel Core i5-12400 - ASUS PRIME Z690-P WIFI D4 - Intel Device 7aa7

Ubuntu 21.10 - 5.16.0-051600rc8-generic - GNOME Shell 40.5

2 Systems - 705 Benchmark Results

AMD EPYC 7713 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 5.15.0-47-generic - GNOME Shell 42.4

3 Systems - 531 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 22.04 - 5.17.4-051704-generic - GNOME Shell 42.0

16 Systems - 333 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

5 Systems - 396 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 23.04 - 6.2.0-060200rc8daily20230213-generic - GNOME Shell 43.2

2 Systems - 358 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 DESIGNARE - AMD Starship

Ubuntu 20.04 - 5.13.0-28-generic - X Server 1.20.11

2 Systems - 161 Benchmark Results

Intel Core i3-7100 - Gigabyte B250M-DS3H-CF - Intel Xeon E3-1200 v6

Ubuntu 20.10 - 5.8.0-55-generic - GNOME Shell 3.38.1

3 Systems - 261 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - ASUS ROG ZENITH EXTREME - AMD 17h

Ubuntu 20.10 - 5.8.0-50-generic - GNOME Shell 3.38.1

Find More Test Results