Timed GCC Compilation

This test times how long it takes to build the GNU Compiler Collection (GCC) 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

23 August 2021

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Second

Average Run Time

55 Minutes, 12 Seconds

Test Dependencies

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

Accolades

100k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsTimed GCC Compilation Popularity Statisticspts/build-gcc2017.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.0810K20K30K40K50K
* 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 26 September 2022.

Revision History

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 11.2.0

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 626 public results since 23 August 2021 with the latest data as of 30 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)
98th
18
616 +/- 52
89th
8
663 +/- 1
83rd
9
710 +/- 42
82nd
5
735 +/- 71
Mid-Tier
75th
> 802
75th
5
805 +/- 13
74th
10
810 +/- 38
71st
4
833 +/- 1
66th
9
861 +/- 46
66th
3
862 +/- 8
65th
3
868 +/- 1
64th
30
869 +/- 44
60th
8
911 +/- 20
58th
4
932 +/- 15
57th
3
947 +/- 5
51st
20
1000 +/- 62
Median
50th
1002
50th
7
1003 +/- 28
49th
6
1019 +/- 22
48th
3
1033 +/- 7
43rd
3
1147 +/- 3
43rd
8
1155 +/- 75
41st
3
1218 +/- 4
41st
3
1253 +/- 6
39th
4
1269 +/- 5
33rd
4
1553 +/- 4
32nd
4
1581 +/- 2
31st
3
1606 +/- 14
31st
3
1606 +/- 5
31st
3
1615 +/- 3
29th
3
1640 +/- 5
28th
3
1661 +/- 1
28th
3
1686 +/- 2
27th
5
1716 +/- 203
27th
5
1785 +/- 13
27th
3
1803 +/- 13
Low-Tier
25th
> 1853
25th
3
1855 +/- 4
25th
4
1914 +/- 43
25th
3
1920 +/- 1
21st
4
2106 +/- 15
21st
4
2110 +/- 5
19th
10
2163 +/- 7
18th
3
2288 +/- 7
17th
6
2459 +/- 6
16th
3
2523 +/- 16
15th
3
2587 +/- 29
15th
3
2626 +/- 145
14th
3
2716 +/- 20
13th
3
2862 +/- 4
12th
3
3220 +/- 19
9th
3
3680 +/- 120
8th
4
4678 +/- 28
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile618 Results Range From 531 To 23859 Seconds531998146519322399286633333800426747345201566861356602706975368003847089379404987110338108051127211739122061267313140136071407414541150081547515942164091687617343178101827718744192111967820145206122107921546220132248022947234142388170140210280350

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed GCC Compilation 11.2.0 - Time To Compile) has an average run-time of 1 hour, 36 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-Time70140210280350Min: 27 / Avg: 95.1 / Max: 418

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.05 / Max: 1

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 Compile46812162432641280.78751.5752.36253.153.9375

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)
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72, ARMv8 Neoverse-N1 4-Core, ARMv8 Neoverse-V1 4-Core, ARMv8 rev 0 8-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core, Apple M1, Apple M2, Phytium FT-2000, Phytium S2500

Recent Test Results

OpenBenchmarking.org Results Compare

5 Systems - 58 Benchmark Results

2 x AMD EPYC 7763 64-Core - Supermicro H12DSU-iN v1.01 - AMD Starship

AlmaLinux 9.0 - 5.14.0-70.22.1.el9_0.x86_64 - GNOME Shell 40.9

1 System - 53 Benchmark Results

2 x AMD EPYC 7763 64-Core - Supermicro H12DSU-iN v1.01 - AMD Starship

AlmaLinux 9.0 - 5.14.0-70.22.1.el9_0.x86_64 - GCC 11.2.1 20220127

1 System - 53 Benchmark Results

2 x AMD EPYC 7763 64-Core - Supermicro H12DSU-iN v1.01 - AMD Starship

AlmaLinux 9.0 - 5.14.0-70.22.1.el9_0.x86_64 - GCC 11.2.1 20220127

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

1 System - 31 Benchmark Results

Intel Core i7-9700 - ASUS PRIME B365M-A - Intel 8th Gen Core 8-core Desktop

Linuxmint 20.2 - 5.4.0-125-generic - Cinnamon 5.0.7

1 System - 27 Benchmark Results

2 x Intel Xeon E5-2695 v3 - Intel 440BX - Intel 440BX

OracleServer 8.6 - 5.15.0-1.43.4.1.el8uek.x86_64 - GCC 8.5.0 20210514

1 System - 18 Benchmark Results

2 x Intel Xeon E5-2650 v3 - Intel 440BX - Intel 440BX

Oracle Linux Server 8.6 - 4.18.0-372.9.1.el8.x86_64 - GCC 8.5.0 20210514

1 System - 53 Benchmark Results

2 x AMD EPYC 7763 64-Core - Supermicro H12DSU-iN v1.01 - AMD Starship

AlmaLinux 9.0 - 5.14.0-70.22.1.el9_0.x86_64 - GCC 11.2.1 20220127

6 Systems - 22 Benchmark Results

Intel Core i7-4770 - MSI B85M-P33 V2 - Intel 4th Gen Core DRAM

Linuxmint 20.2 - 5.4.0-74-generic - X Server 1.20.11

1 System - 31 Benchmark Results

2 x AMD EPYC 7513 32-Core - Intel 440BX - Intel 440BX

Debian 10 - 4.19.0-6-amd64 - GCC 8.3.0

6 Systems - 18 Benchmark Results

AMD Ryzen 9 5900X 12-Core - QEMU Standard PC - Intel 82G33

Debian 11 - 5.10.0-18-amd64 - X Server 1.20.11

5 Systems - 18 Benchmark Results

AMD Ryzen 9 5900X 12-Core - QEMU Standard PC - Intel 82G33

Debian 11 - 5.10.0-18-amd64 - X Server 1.20.11

4 Systems - 18 Benchmark Results

AMD Ryzen 9 5900X 12-Core - QEMU Standard PC - Intel 82G33

Debian 11 - 5.10.0-18-amd64 - X Server 1.20.11

1 System - 30 Benchmark Results

Intel Core i5-4590 - Dell 02YYK5 - Intel 4th Gen Core DRAM

Linuxmint 21 - 5.15.0-47-generic - Xfce 4.16

Most Popular Test Results

OpenBenchmarking.org Results Compare

4 Systems - 196 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

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

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

2 Systems - 67 Benchmark Results

Intel Core i5-6600K - MSI Z170A KRAIT GAMING 3X - Intel Xeon E3-1200 v5

Ubuntu 21.04 - 5.11.0-34-generic - GNOME Shell 3.38.4

2 Systems - 16 Benchmark Results

Ampere Altra ARMv8 Neoverse-N1 - WIWYNN Mt.Jade - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 21.04 - 5.11.0-25-generic - 1.0.2

3 Systems - 90 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

4 Systems - 15 Benchmark Results

AMD Ryzen 7 3800XT 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 10 - 4.19.0-17-amd64 - X Server 1.20.4

8 Systems - 364 Benchmark Results

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

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

4 Systems - 146 Benchmark Results

Intel Core i5-7600K - Gigabyte Z270M-D3H-CF - Intel Xeon E3-1200 v6

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

3 Systems - 68 Benchmark Results

Intel Xeon E3-1275 v6 - ASUS P10S-M WS - Intel Xeon E3-1200 v6

Ubuntu 20.04 - 5.9.0-050900rc8daily20201007-generic - X Server 1.20.8

3 Systems - 55 Benchmark Results

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

Ubuntu 20.10 - 5.8.0-29-generic - X Server 1.20.8

2 Systems - 108 Benchmark Results

ARMv8 rev 0 - e3360_1099 - 32GB

Ubuntu 20.04 - 5.10.41-tegra - X Server

Find More Test Results