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.052024.0812K24K36K48K60K
* 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 11 October 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 13.2

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 381 public results since 31 July 2023 with the latest data as of 8 October 2024.

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)
88th
5
683 +/- 61
83rd
3
744 +/- 47
82nd
3
791 +/- 1
76th
11
851 +/- 9
Mid-Tier
75th
> 856
60th
7
1048 +/- 24
59th
3
1057 +/- 35
54th
3
1115 +/- 78
52nd
5
1168 +/- 4
Median
50th
1168
47th
3
1234 +/- 1
45th
3
1344 +/- 6
42nd
5
1354 +/- 20
38th
9
1492 +/- 46
35th
4
1526 +/- 20
32nd
3
1643 +/- 10
31st
4
1669 +/- 4
30th
3
1691 +/- 8
Low-Tier
25th
> 1903
25th
3
1917 +/- 3
24th
3
1992 +/- 3
20th
6
2352 +/- 18
18th
3
2401 +/- 6
17th
3
2435 +/- 62
16th
3
2580 +/- 159
9th
4
3251 +/- 83
8th
8
3387 +/- 107
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile379 Results Range From 63 To 16724 Seconds6339773110651399173320672401273530693403373740714405473950735407574160756409674370777411774580798413874790819415974910083104171075111085114191175312087124211275513089134231375714091144251475915093154271576116095164291676320406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed GCC Compilation 13.2 - Time To Compile) has an average run-time of 1 hour, 26 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-Time80160240320400Min: 1 / Avg: 85.65 / Max: 455

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTime To CompileDeviation246810Min: 0 / Avg: 0.2 / 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.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseTimed GCC Compilation CPU Core ScalingTime To Compile468121632641.09582.19163.28744.38325.479

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 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, HiSilicon TSV110, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 37 Benchmark Results

AMD Ryzen 5 5600G - ASRock B450M Pro4-F R2.0 - AMD Renoir

Ubuntu 24.04 - 6.10.4-061004-generic - GNOME Shell 46.0

1 System - 37 Benchmark Results

AMD Ryzen 7 5800X 8-Core - GIGABYTE MC12-LE0-00 v01000100 - AMD Starship

Ubuntu 24.04 - 6.11.0-061100-generic - GNOME Shell 46.0

1 System - 37 Benchmark Results

AMD Ryzen 5 7600 6-Core - MSI PRO B650M-B - AMD Device 14d8

Ubuntu 24.04 - 6.11.0-061100-generic - GNOME Shell 46.0

2 Systems - 45 Benchmark Results

AMD Ryzen 9 9950X 16-Core - Gigabyte B650M DS3H - AMD Device 14d8

AlmaLinux 9.4 - 5.14.0-427.37.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 25 Benchmark Results

AMD Ryzen 9 9950X 16-Core - Gigabyte B650M DS3H - AMD Device 14d8

AlmaLinux 9.4 - 5.14.0-427.37.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 24 Benchmark Results

AMD Ryzen 9 9950X 16-Core - Gigabyte B650M DS3H - AMD Device 14d8

AlmaLinux 9.4 - 5.14.0-427.37.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 37 Benchmark Results

AMD Ryzen 5 7600 6-Core - MSI PRO B650M-B - AMD Device 14d8

Ubuntu 24.04 - 6.11.0-061100-generic - GNOME Shell 46.0

2 Systems - 76 Benchmark Results

1 System - 20 Benchmark Results

AMD Ryzen 9 7945HX - Shenzhen Meigao Electronic Equipment Uranus DRFXI - AMD Device 14d8

Ubuntu 22.04 - 5.15.0-122-generic - 1.3.255

1 System - 21 Benchmark Results

AMD EPYC 9384X 32-Core - MiTAC Capri V2 - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-45-generic - GCC 13.2.0

1 System - 1 Benchmark Result

AMD Ryzen 9 7945HX - Shenzhen Meigao Electronic Equipment Uranus DRFXI - AMD Device 14d8

Ubuntu 22.04 - 5.15.0-122-generic - 1.3.255

1 System - 1 Benchmark Result

AMD EPYC 9384X 32-Core - MiTAC Capri V2 - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-45-generic - GCC 13.2.0

1 System - 21 Benchmark Results

AMD Ryzen 9 9950X 16-Core - Gigabyte B650I AORUS ULTRA - AMD Device 14d8

Fedora 40 - 6.10.9-200.fc40.x86_64 - X Server 1.21.1.7

2 Systems - 43 Benchmark Results

2 x Intel Xeon Gold 6430 - N/A X640 G50 60EA32X v24003523 - Intel Device 1bce

Ubuntu 22.04 - 5.15.0-121-generic - GCC 11.4.0 + CUDA 12.4

Most Popular Test Results

OpenBenchmarking.org Results Compare

1 System - 35 Benchmark Results

AMD Ryzen 7 7840U - Framework FRANMDCP07 - AMD Device 14e8

Fedora Linux 39 - 6.5.6-300.fc39.x86_64 - KDE Plasma 5.27.8

3 Systems - 435 Benchmark Results

3 Systems - 369 Benchmark Results

Intel Xeon E-2388G - ASRockRack E3C252D4U - Intel Tiger Lake-H

Ubuntu 22.04 - 6.2.0-26-generic - GNOME Shell 42.9

3 Systems - 72 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Ice Lake-LP DRAM

Ubuntu 23.04 - 6.2.0-24-generic - GNOME Shell 44.0

2 Systems - 358 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

Ubuntu 22.04 - 6.2.0-35-generic - GNOME Shell 42.2

2 Systems - 95 Benchmark Results

16 x AMD Ryzen 7 5700G - Intel 440BX - Intel 440BX

Ubuntu 22.04 - 6.5.0-41-generic - GNOME Shell 42.9

3 Systems - 122 Benchmark Results

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

Ubuntu 22.04 - 6.2.0-phx - GNOME Shell 42.5

2 Systems - 131 Benchmark Results

AMD Ryzen 7 7840U - PHX Ray_PEU - AMD Device 14e8

Ubuntu 22.04 - 6.4.0-060400-generic - KDE Plasma 5.24.7

2 Systems - 150 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Ice Lake IEH

Ubuntu 22.10 - 6.2.0-rc5-phx-dodt - GNOME Shell 43.0

2 Systems - 150 Benchmark Results

AMD Ryzen 7 3800X 8-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Ubuntu 23.04 - 6.2.4-060204-generic - KDE Plasma 5.27.4

2 Systems - 520 Benchmark Results

2 x INTEL XEON PLATINUM 8592+ - Quanta Cloud S6Q-MB-MPS - Intel Device 1bce

Ubuntu 23.10 - 6.5.0-13-generic - GCC 13.2.0

2 Systems - 72 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Ice Lake-LP DRAM

Ubuntu 23.04 - 6.2.0-24-generic - GNOME Shell 44.0

Find More Test Results