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

150k+ 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 29 April 2024.
Ninja60.4%Unix Makefiles39.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

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 17 public results since 6 May 2023 with the latest data as of 29 April 2024.

Additional benchmark metrics will come after OpenBenchmarking.org has collected a sufficient data-set.

OpenBenchmarking.orgDistribution Of Public Results - Time To Compile17 Results Range From 249 To 2260 Seconds24929433938442947451956460965469974478983487992496910141059110411491194123912841329137414191464150915541599164416891734177918241869191419592004204920942139218422292274246810

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed LLVM Compilation 16.0 - Time To Compile) has an average run-time of 45 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-Time20406080100Min: 12 / Avg: 44.53 / Max: 113

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTime To CompileDeviation246810Min: 0 / Avg: 0.65 / Max: 2

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)

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 145 Benchmark Results

2 x Intel Xeon Gold 6252 - Intel S2600WFD - Intel Sky Lake-E DMI3 Registers

Ubuntu 24.04 - 6.8.0-31-generic - GCC 13.2.0

2 Systems - 147 Benchmark Results

2 x Intel $0000% - Intel M50CYP2SB2U - Intel Ice Lake IEH

Ubuntu 24.04 - 6.8.0-31-generic - GCC 13.2.0

11 Systems - 139 Benchmark Results

2 x Intel Xeon Gold 5218 - Cisco UCSC-C480-M5 - Intel Sky Lake-E DMI3 Registers

Ubuntu 23.10 - 6.5.0-26-generic - GCC 13.2.0

12 Systems - 139 Benchmark Results

Intel Core i5-1135G7 - LENOVO Lenovo V15 G2 ITL LNVNB161216 - Intel Tiger Lake-LP

Ubuntu 24.04 - 6.8.0-31-generic - GCC 13.2.0

11 Systems - 139 Benchmark Results

AMD Ryzen 9 3900X 12-Core - MSI X570-A PRO - AMD Starship

Ubuntu 24.04 - 6.8.0-31-generic - GCC 13.2.0

9 Systems - 183 Benchmark Results

2 x Intel Xeon Gold 6430 - Dell PowerEdge R760 030NDG - Intel Device 1bce

Ubuntu 23.10 - 6.5.0-9-generic - GCC 13.2.0

8 Systems - 185 Benchmark Results

2 x Intel Xeon Gold 6430 - Dell PowerEdge R760 030NDG - Intel Device 1bce

Ubuntu 23.10 - 6.5.0-9-generic - GCC 13.2.0

8 Systems - 185 Benchmark Results

AMD Ryzen 9 3900X 12-Core - MSI X570-A PRO - AMD Starship

Ubuntu 23.10 - 6.5.0-9-generic - X Server 1.21.1.7

2 Systems - 147 Benchmark Results

Intel Core i7-1260P - Dell 0MTH72 - Intel Alder Lake PCH

Ubuntu 24.04 - 6.8.0-22-generic - GCC 13.2.0

1 System - 102 Benchmark Results

Intel Core i3-N305 - ROUTER - Intel

FreeBSD - 13.2-RELEASE - Clang 14.0.5

1 System - 157 Benchmark Results

AMD Ryzen 5 5600G - MSI B450M MORTAR MAX - AMD Renoir

NixOS 23.11 - 6.1.65 - GCC 12.3.0

1 System - 157 Benchmark Results

AMD Ryzen 5 5600G - MSI B450M MORTAR MAX - AMD Renoir

NixOS 23.11 - 6.1.65 - GCC 12.3.0

Find More Test Results