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.082024.1112K24K36K48K60K
* 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 November 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 392 public results since 31 July 2023 with the latest data as of 8 November 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)
87th
5
683 +/- 61
83rd
3
744 +/- 47
81st
3
791 +/- 1
Mid-Tier
75th
> 849
75th
11
851 +/- 9
59th
7
1048 +/- 24
58th
3
1057 +/- 35
53rd
3
1115 +/- 78
51st
5
1168 +/- 4
Median
50th
1168
47th
3
1234 +/- 1
44th
3
1344 +/- 6
42nd
5
1354 +/- 20
37th
9
1492 +/- 46
35th
4
1526 +/- 20
32nd
3
1643 +/- 10
30th
4
1669 +/- 4
29th
3
1691 +/- 8
Low-Tier
25th
> 1822
24th
3
1917 +/- 3
23rd
3
1992 +/- 3
19th
6
2352 +/- 18
18th
3
2401 +/- 6
16th
3
2435 +/- 62
16th
3
2580 +/- 159
9th
4
3251 +/- 83
8th
8
3387 +/- 107
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile392 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, 25 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: 84.11 / 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?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not 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

2 Systems - 5 Benchmark Results

AMD Ryzen 7 7800X3D 8-Core - Gigabyte B650 EAGLE AX - AMD Device 14d8

Arch Linux - 6.11.5-arch1-1 - GCC 14.2.1 20240910

1 System - 21 Benchmark Results

INTEL XEON GOLD 6548N - Intel VMware7 1 440BX - Intel 440BX

Ubuntu 24.04 - 6.8.0-48-generic - GNOME Shell 46.0

1 System - 21 Benchmark Results

INTEL XEON GOLD 6548N - Intel VMware7 1 440BX - Intel 440BX

Ubuntu 24.04 - 6.8.0-48-generic - GNOME Shell 46.0

1 System - 21 Benchmark Results

AMD EPYC 9374F 32-Core - Intel VMware7 1 440BX - Intel 440BX

Ubuntu 24.04 - 6.8.0-48-generic - GNOME Shell 46.0

1 System - 21 Benchmark Results

AMD EPYC 9374F 32-Core - Intel VMware7 1 440BX - Intel 440BX

Ubuntu 24.04 - 6.8.0-48-generic - GNOME Shell 46.0

1 System - 21 Benchmark Results

INTEL XEON GOLD 6548N - Intel VMware7 1 440BX - Intel 440BX

Ubuntu 24.04 - 6.8.0-48-generic - GNOME Shell 46.0

12 Systems - 2543 Benchmark Results

1 System - 150 Benchmark Results

2 x Montage Jintide C6230R - H3C UniServer R4700 G3 RS33M2C3S - 384GB

Ubuntu 20.04.6 LTS - 6.8.0-47-generic - GCC 9.4.0

2 Systems - 42 Benchmark Results

AMD Ryzen 9 9950X 16-Core - ASUS ProArt X670E-CREATOR WIFI - AMD Device 14d8

Ubuntu 22.04 - 6.8.0-45-lowlatency - GCC 11.4.0

1 System - 37 Benchmark Results

AMD Ryzen 9 9950X 16-Core - ASUS ProArt X670E-CREATOR WIFI - AMD Device 14d8

Ubuntu 22.04 - 6.8.0-45-lowlatency - GCC 11.4.0

1 System - 21 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS PRIME X670-P WIFI - AMD Device 14d8

cachyos rolling - 6.11.3-1-cachyos-bore - KDE Plasma 6.2.0

1 System - 35 Benchmark Results

Intel Core i7-14700K - MSI MAG Z790 TOMAHAWK MAX WIFI - Intel Device 7a27

Ubuntu 22.04 - 5.15.0-122-generic - 1.3.255

2 Systems - 1 Benchmark Result

2 x Intel Xeon E5-2696 v2 - INTEL X79 - Intel Xeon E7 v2

Arch Linux - 6.7.9-arch1-1 - GCC 13.2.1 20230801

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

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

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

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 - 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 - 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

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