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.022024.052024.0811K22K33K44K55K
* 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 8 October 2024.
Ninja64.4%Unix Makefiles35.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 27 public results since 6 May 2023 with the latest data as of 27 June 2024.

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

OpenBenchmarking.orgDistribution Of Public Results - Time To Compile27 Results Range From 249 To 2412 Seconds24929634339043748453157862567271976681386090795410011048109511421189123612831330137714241471151815651612165917061753180018471894194119882035208221292176222322702317236424112458246810

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

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

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

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

3 Systems - 141 Benchmark Results

Intel Xeon Gold 6148 - Supermicro X11SPW-TF v1.03 - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 5.15.0-113-generic - X Server

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

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

Ubuntu 24.04 - 6.8.0-31-generic - GCC 13.2.0

12 Systems - 139 Benchmark Results

2 x AMD Ryzen 9 7950X 16-Core - QEMU Standard PC - Intel 82G33

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

11 Systems - 139 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

9 Systems - 183 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

8 Systems - 185 Benchmark Results

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

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

Find More Test Results