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 19 December 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 420 public results since 31 July 2023 with the latest data as of 18 December 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)
92nd
4
642 +/- 60
85th
5
683 +/- 61
80th
5
775 +/- 54
79th
3
791 +/- 1
Mid-Tier
75th
> 840
74th
11
851 +/- 9
57th
7
1048 +/- 24
56th
3
1057 +/- 35
52nd
3
1115 +/- 78
Median
50th
1163
50th
5
1168 +/- 4
46th
3
1234 +/- 1
43rd
3
1344 +/- 6
41st
5
1354 +/- 20
36th
9
1492 +/- 46
34th
4
1526 +/- 20
31st
3
1643 +/- 10
29th
4
1669 +/- 4
28th
3
1691 +/- 8
Low-Tier
25th
> 1761
23rd
3
1917 +/- 3
22nd
3
1992 +/- 3
19th
6
2352 +/- 18
17th
3
2401 +/- 6
16th
3
2435 +/- 62
15th
3
2580 +/- 159
8th
4
3251 +/- 83
8th
8
3387 +/- 107
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile414 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, 23 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: 82.56 / 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 Compile46812162432641.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 Eng Sample 100-000000713-21_N - AMD BirmanPlus-KRK - AMD Device 1122

Ubuntu 24.04 - 6.13.0-rc3 - GNOME Shell 46.0

1 System - 2 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS TUF GAMING X570-PLUS_BR - AMD Starship

Linuxmint 22 - 6.8.0-51-generic - Cinnamon 6.2.9

2 Systems - 37 Benchmark Results

2 x AMD EPYC 9684X 96-Core - Giga Computing MZ73-LM0-000 v02000200 - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-49-generic - GCC 13.2.0

1 System - 37 Benchmark Results

2 x AMD EPYC 9684X 96-Core - Giga Computing MZ73-LM0-000 v02000200 - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-49-generic - GCC 13.2.0

2 Systems - 37 Benchmark Results

Intel Xeon W-1270 - Dell 01NP3N - Intel Comet Lake PCH

Fedora Linux 41 - 6.11.8-300.fc41.x86_64 - GNOME Shell 47.1

1 System - 37 Benchmark Results

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

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

1 System - 120 Benchmark Results

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

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

1 System - 1 Benchmark Result

Intel Core i7-11700 - LENOVO 32DD - 32GB

Ubuntu 20.04.4 LTS - 5.15.0-125-generic - GCC 9.4.0

2 Systems - 36 Benchmark Results

Intel Core i9-14900KF - MSI MPG Z790 EDGE TI MAX WIFI - Intel Device 7a27

Ubuntu 22.04 - 5.15.0-125-generic - 1.3.255

1 System - 21 Benchmark Results

AMD Eng Sample 100-000000560-40_Y - (5.24 BIOS) - AMD 17h-19h PCIe Root Complex

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

1 System - 28 Benchmark Results

Intel Core i7-1165G7 - HP 8AB8 - 32GB

Ubuntu 20.04.4 LTS - 6.5.0-44-generic - GCC 9.4.0

1 System - 21 Benchmark Results

Intel Core i9-14900K - Intel NUC13SBBi9 - Intel Alder Lake-S PCH

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

1 System - 21 Benchmark Results

Intel Core i9-14900K - Intel NUC13SBBi9 - Intel Alder Lake-S PCH

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

1 System - 21 Benchmark Results

Intel Core i9-14900K - 80GB - 0GB Virtual Disk + 21GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.167.4-microsoft-standard-WSL2 - Wayland

1 System - 1 Benchmark Result

Apple - 8GB - 664GB

Ubuntu 20.04.4 LTS - 6.11.6-orbstack-00279-g28c6c77332e6 - GCC 9.4.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

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

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

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

73 Systems - 527 Benchmark Results

2 x Intel Xeon E5-2680 v4 - Intel S2600CW - Intel Xeon E7 v4

Arch Linux - 6.9.7-arch1-1 - GCC 14.1.1 20240522

Find More Test Results