Timed LLVM Compilation

This test times how long it takes to 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

1 October 2021

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Second

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.102017.122018.022018.042018.062018.082018.102018.122019.022019.042019.062019.082019.102019.122020.022020.042020.062020.082020.102020.122021.022021.042021.062021.082021.102021.122022.022022.042022.062022.088K16K24K32K40K
* 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 current as of 30 September 2022.
Ninja53.5%Unix Makefiles46.5%Build System Option PopularityOpenBenchmarking.org

Revision History

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 968 public results since 1 October 2021 with the latest data as of 27 September 2022.

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)
84th
19
142 +/- 6
82nd
17
149 +/- 9
79th
5
163 +/- 9
Mid-Tier
75th
> 189
75th
7
190 +/- 10
75th
10
192 +/- 8
71st
10
245 +/- 15
64th
3
344 +/- 4
60th
42
369 +/- 38
58th
12
384 +/- 32
Median
50th
479
48th
6
543 +/- 20
47th
5
554 +/- 1
44th
3
588 +/- 11
42nd
4
607 +/- 1
40th
31
618 +/- 42
40th
12
618 +/- 12
39th
7
642 +/- 67
37th
9
677 +/- 23
35th
5
708 +/- 21
34th
5
710 +/- 1
34th
8
722 +/- 43
30th
8
802 +/- 36
29th
8
840 +/- 37
29th
4
872 +/- 5
26th
6
941 +/- 55
26th
5
948 +/- 35
26th
5
951 +/- 76
Low-Tier
25th
> 967
25th
3
972 +/- 110
24th
3
1024 +/- 20
24th
8
1036 +/- 30
23rd
12
1078 +/- 158
22nd
3
1123 +/- 122
21st
4
1160 +/- 5
21st
4
1185 +/- 16
21st
4
1187 +/- 71
20th
5
1230 +/- 97
19th
3
1238 +/- 2
18th
3
1277 +/- 7
17th
6
1325 +/- 57
17th
3
1336 +/- 90
17th
5
1352 +/- 59
16th
3
1420 +/- 16
15th
5
1570 +/- 69
15th
3
1605 +/- 1
15th
3
1615 +/- 33
14th
3
1636 +/- 29
13th
4
1672 +/- 27
12th
3
1755 +/- 2
12th
6
1764 +/- 17
11th
4
1861 +/- 7
11th
4
1886 +/- 68
10th
3
1974 +/- 3
9th
3
2095 +/- 1
9th
4
2122 +/- 89
9th
4
2123 +/- 3
8th
3
2196 +/- 3
7th
8
2439 +/- 36
7th
3
2450 +/- 81
4th
5
3262 +/- 220
4th
5
3454 +/- 45
2nd
4
4986 +/- 50
1st
3
12410 +/- 53
OpenBenchmarking.orgDistribution Of Public Results - Build System: Ninja920 Results Range From 91 To 27057 Seconds91631117117112251279133313871441149515491603165717111765181918731927198111035110891114311197112511130511359114131146711521115751162911683117371179111845118991195312007120611211512169122231227712331123851243912493125471260112655127091120240360480600

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

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.09 / 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: Ninja4681216243264128816243240

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
arm64
Apple M1 Pro
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-V1, 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

13 Systems - 228 Benchmark Results

Intel Core i5-10600K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Ubuntu 20.04 - 5.9.0-050900-generic - GNOME Shell 3.36.4

4 Systems - 537 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASRock X670E Taichi - AMD Device 14d8

Fedora Linux 36 - 6.0.0-0.rc5.20220914git3245cb65fd91.39.vanilla.1.fc36.x86_64 - GNOME Shell 42.4

4 Systems - 361 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

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

3 Systems - 164 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

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

4 Systems - 21 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

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

13 Systems - 333 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

1 System - 2 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG STRIX X570-E GAMING WIFI II - AMD Starship

Fedora Linux 36 - 5.19.9-200.fc36.x86_64 - GNOME Shell 42.5

2 Systems - 705 Benchmark Results

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

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

1 System - 91 Benchmark Results

Intel Core i7-5820K - ASUS X99-A/USB 3.1 - Intel Xeon E7 v3

Fedora Linux 36 - 5.19.4-200.fc36.x86_64 - X Server 1.20.14

1 System - 366 Benchmark Results

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

Ubuntu 22.10 - 6.0.0-060000rc3daily20220904-generic - GNOME Shell

3 Systems - 221 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

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

2 Systems - 240 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

CentOS Stream 9 - 5.14.0-148.el9.x86_64 - GNOME Shell 40.10

1 System - 18 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

Ubuntu 22.10 - 5.15.0-27-generic - GNOME Shell

1 System - 232 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

CentOS Stream 9 - 5.14.0-148.el9.x86_64 - GNOME Shell 40.10

1 System - 19 Benchmark Results

Unknown - QEMU Virtual Machine - Red Hat QEMU PCIe

Ubuntu 22.04 - 5.15.0-47-generic - GCC 11.2.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

12 Systems - 278 Benchmark Results

Intel Core i9-12900K - ASUS ROG MAXIMUS Z690 HERO - Intel Device 7aa7

Ubuntu 20.04 - 5.11.0-38-generic - GNOME Shell 3.36.9

15 Systems - 182 Benchmark Results

Intel Core i5-10600K - ASUS PRIME Z490M-PLUS - Intel Comet Lake PCH

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

11 Systems - 119 Benchmark Results

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

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

3 Systems - 141 Benchmark Results

2 x AMD EPYC 75F3 32-Core - ASRockRack ROME2D16-2T - AMD Starship

Clear Linux OS 35150 - 5.14.13-1083.native - GNOME Shell 41.0

2 Systems - 222 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

Clear Linux OS 35320 - 5.15.4-1100.native - GNOME Shell 41.1

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

4 Systems - 141 Benchmark Results

2 x AMD EPYC 75F3 32-Core - ASRockRack ROME2D16-2T - AMD Starship

CentOS Stream 8 - 4.18.0-348.el8.x86_64 - GNOME Shell 3.32.2

8 Systems - 364 Benchmark Results

AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

2 Systems - 140 Benchmark Results

2 x AMD EPYC 75F3 32-Core - ASRockRack ROME2D16-2T - AMD Starship

Clear Linux OS 35150 - 5.14.13-1083.native - GNOME Shell 41.0

13 Systems - 333 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

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

2 Systems - 55 Benchmark Results

2 x AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 21.10 - 5.16.0-rc8-mglru-pts - GNOME Shell 40.5

4 Systems - 226 Benchmark Results

Intel Core i9-10980XE - Intel Sky Lake-E DMI3 Registers - 32GB

FreeBSD - 13.0-RELEASE - Clang 11.0.1

Find More Test Results