Timed GCC Compilation

This test times how long it takes to build the GNU Compiler Collection (GCC) open-source compiler.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark build-gcc.

Project Site

gcc.gnu.org

Source Repository

gcc.gnu.org

Test Created

16 August 2017

Last Updated

31 July 2023

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

2 Seconds

Average Run Time

54 Minutes, 40 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Bison + Flex + GNU Multiple Precision Arithmetic

Accolades

150k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsTimed GCC Compilation Popularity Statisticspts/build-gcc2017.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.0511K22K33K44K55K
* 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 7 May 2024.

Revision History

pts/build-gcc-1.4.0   [View Source]   Mon, 31 Jul 2023 06:00:54 GMT
Update against GCC 13.2 upstream. Closes: https://github.com/phoronix-test-suite/openbenchmarking/issues/44

pts/build-gcc-1.3.0   [View Source]   Mon, 23 Aug 2021 09:45:14 GMT
Update against GCC 11.2 upstream for building as prior version began having issues with newer distros.

pts/build-gcc-1.2.0   [View Source]   Fri, 20 Mar 2020 08:11:07 GMT
Update against GCC 9.3.0 upstream.

pts/build-gcc-1.1.2   [View Source]   Wed, 10 Jul 2019 21:27:43 GMT
Set timestorun = 3

pts/build-gcc-1.1.1   [View Source]   Sat, 10 Nov 2018 11:24:30 GMT
Use NUM_CPU_CORES.

pts/build-gcc-1.1.0   [View Source]   Sat, 10 Nov 2018 11:08:13 GMT
Update against upstream GCC 8.2.0.

pts/build-gcc-1.0.0   [View Source]   Wed, 16 Aug 2017 14:45:50 GMT
Initial commit of a timed GCC compilation test profile.

Suites Using This Test

Timed Code Compilation

Multi-Core

CPU Massive

Server CPU Tests

Programmer / Developer System Benchmarks


Performance Metrics

Analyze Test Configuration:

Timed GCC Compilation 9.3.0

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 801 public results since 20 March 2020 with the latest data as of 30 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)
90th
3
650 +/- 2
77th
28
735 +/- 57
Mid-Tier
75th
> 750
72nd
3
767 +/- 18
70th
5
779 +/- 63
68th
28
787 +/- 42
67th
7
797 +/- 63
66th
7
805 +/- 49
65th
3
812 +/- 50
65th
3
816 +/- 65
63rd
12
841 +/- 123
56th
6
920 +/- 24
55th
6
937 +/- 44
54th
14
945 +/- 52
51st
7
998 +/- 104
Median
50th
998
49th
9
1013 +/- 71
47th
4
1030 +/- 14
47th
7
1041 +/- 27
42nd
4
1089 +/- 153
41st
6
1103 +/- 90
40th
5
1129 +/- 80
38th
3
1177 +/- 62
37th
3
1217 +/- 4
35th
4
1261 +/- 4
31st
3
1396 +/- 1
31st
3
1400 +/- 3
30th
7
1430 +/- 8
29th
4
1477 +/- 1
Low-Tier
25th
> 1698
25th
3
1702 +/- 215
25th
3
1743 +/- 73
22nd
3
1962 +/- 21
21st
3
2082 +/- 1
20th
3
2237 +/- 17
17th
4
2580 +/- 128
16th
3
2659 +/- 302
14th
3
2910 +/- 78
9th
3
4125 +/- 270
3rd
3
10262 +/- 266
1st
3
13681 +/- 1652
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile801 Results Range From 550 To 27245 Seconds55010841618215226863220375442884822535658906424695874928026856090949628101621069611230117641229812832133661390014434149681550216036165701710417638181721870619240197742030820842213762191022444229782351224046245802511425648261822671627250100200300400500

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed GCC Compilation 9.3.0 - Time To Compile) has an average run-time of 1 hour, 19 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-Time90180270360450Min: 16 / Avg: 78.92 / Max: 518

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 RunsTime To CompileDeviation246810Min: 0 / Avg: 0.14 / Max: 4

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.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseTimed GCC Compilation CPU Core ScalingTime To Compile4681216640.80421.60842.41263.21684.021

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)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 24-Core, POWER9 4-Core, POWER9 44-Core
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv8 64-bit
aarch64
ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 8-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core

Recent Test Results

OpenBenchmarking.org Results Compare

20 Systems - 119 Benchmark Results

AMD EPYC 7V13 64-Core - Supermicro H12DSi-N6 v1.02 - AMD Starship

Ubuntu 19.10 - 5.3.0-64-generic - GNOME Shell 3.34.1

19 Systems - 119 Benchmark Results

Intel Xeon Platinum 8375C - Supermicro X12DPi-N6 v1.00 - Intel Device 0998

Ubuntu 19.10 - 5.3.0-64-generic - GNOME Shell 3.34.1

7 Systems - 300 Benchmark Results

Intel Core i5-8265U - LENOVO 20Q0S1RG00 - Intel Cannon Point-LP

Fedora Linux 38 - 6.6.4-100.fc38.x86_64 - GNOME Shell 44.6

18 Systems - 119 Benchmark Results

2 x Intel Xeon Platinum 8259L - ASRockRack EP2C621D16-4LP - Intel Sky Lake-E DMI3 Registers

Ubuntu 19.10 - 5.3.0-64-generic - GNOME Shell 3.34.1

6 Systems - 300 Benchmark Results

Intel Core i7-10875H - Dell 0FR8C2 - Intel Comet Lake PCH

Fedora 33 - 5.8.18-300.fc33.x86_64 - GNOME Shell 3.38.1

7 Systems - 300 Benchmark Results

AMD Ryzen 9 5900HS - ASUS GA503QS v1.0 - AMD Renoir Root Complex

Fedora 33 - 5.11.15-300.rog.fc33.x86_64 - GNOME Shell 3.38.4

17 Systems - 119 Benchmark Results

2 x Intel Xeon Platinum 8375C - Supermicro X12DPi-N6 v1.00 - Intel Device 0998

Ubuntu 19.10 - 5.3.0-64-generic - GNOME Shell 3.34.1

17 Systems - 119 Benchmark Results

AMD EPYC 7K83 64-Core - Supermicro H12SSL-i v1.01 - AMD Starship

Ubuntu 19.10 - 5.3.0-64-generic - GNOME Shell 3.34.1

Find More Test Results