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

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.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.0211K22K33K44K55K
* 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 February 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 223 public results since 31 July 2023 with the latest data as of 25 February 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
5
683 +/- 61
81st
11
851 +/- 9
Mid-Tier
75th
> 903
57th
3
1115 +/- 78
Median
50th
1233
50th
3
1234 +/- 1
45th
3
1344 +/- 6
42nd
4
1356 +/- 22
40th
4
1484 +/- 27
37th
4
1526 +/- 20
34th
4
1669 +/- 4
33rd
3
1691 +/- 8
31st
3
1917 +/- 3
28th
3
1992 +/- 3
26th
6
2352 +/- 18
Low-Tier
25th
> 2363
23rd
3
2401 +/- 6
21st
3
2580 +/- 159
13th
4
3251 +/- 83
12th
8
3387 +/- 107
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile220 Results Range From 577 To 16724 Seconds57790012231546186921922515283831613484380741304453477650995422574560686391671470377360768380068329865289759298962199441026710590109131123611559118821220512528128511317413497138201414314466147891511215435157581608116404167271326395265

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, 42 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-Time110220330440550Min: 29 / Avg: 101.7 / Max: 608

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.13 / Max: 2

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

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 32 Benchmark Results

AMD Ryzen 7 7840HS - PELADN HA-4 - 12GB

Alpine Linux v3.19 3.19.1 - 6.6.16-0-lts - X Server 1.21.1.11

1 System - 1 Benchmark Result

AMD Ryzen 9 7945HX3D - 16GB - 0GB Virtual Disk + 9GB Virtual Disk + 275GB Virtual Disk

Ubuntu 22.04 - 5.15.133.1-microsoft-standard-WSL2 - Wayland

1 System - 21 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS PRIME B350M-A - AMD Starship

Ubuntu 23.10 - 6.5.0-17-generic - GNOME Shell 45.2

1 System - 21 Benchmark Results

2 x Intel Xeon Gold 6240 - Dell 08JG8G - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 5.15.0-92-generic - 1.3.238

1 System - 5 Benchmark Results

Intel Core i5-6600K - BIOSTAR TB250-BTC - Intel Xeon E3-1200 v5

Ubuntu 22.04 - 6.5.0-15-generic - LXQt 0.17.0

1 System - 21 Benchmark Results

AMD EPYC 9354P 32-Core - Supermicro H13SSW - AMD Device 14a4

Ubuntu 22.04 - 5.15.0-92-generic - 1.3.238

2 Systems - 1 Benchmark Result

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Arch rolling - 6.7.3-arch1-2 - KDE Plasma 5.27.10

1 System - 102 Benchmark Results

Intel Core i3-N305 - ROUTER - Intel

FreeBSD - 13.2-RELEASE - Clang 14.0.5

1 System - 21 Benchmark Results

AMD Ryzen Threadripper 2950X 16-Core - ASUS PRIME X399-A - AMD 17h

Arch rolling - 6.7.2-arch1-1.1 - KDE Plasma 5.27.10

13 Systems - 129 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASRock B550 Phantom Gaming-ITX/ax - 32GB

Ubuntu 20.04.4 LTS - 6.6.12-200.fc39.x86_64 - GCC 9.4.0

5 Systems - 129 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASRock B550 Phantom Gaming-ITX/ax - 32GB

Ubuntu 20.04.4 LTS - 6.6.13-200.fc39.x86_64 - GCC 9.4.0

3 Systems - 129 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASRock B550 Phantom Gaming-ITX/ax - 32GB

Ubuntu 20.04.4 LTS - 6.6.13-200.fc39.x86_64 - GCC 9.4.0

4 Systems - 61 Benchmark Results

AMD Ryzen 9 5950X 16-Core - MSI MPG B550 GAMING EDGE WIFI - AMD Starship

Arch rolling - 6.6.10-arch1-1 - KDE Plasma 5.27.10

4 Systems - 61 Benchmark Results

AMD Ryzen 5 5600G - MSI MPG B550 GAMING EDGE WIFI - AMD Renoir

Arch rolling - 6.6.10-arch1-1 - KDE Plasma 5.27.10

1 System - 129 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASRock B550 Phantom Gaming-ITX/ax - 32GB

Ubuntu 20.04.4 LTS - 6.6.12-200.fc39.x86_64 - 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

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

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

3 Systems - 83 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

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 - 21 Benchmark Results

Intel Core i7-1260P - Intel NUC12WSBi7 - Intel Alder Lake PCH

Ubuntu 22.04 - 6.5.5-pve-v4-realtime-rt8 - GNOME Shell 42.9

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

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 - 52 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO 21CM0001US - AMD 17h-19h PCIe Root Complex

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

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 - 52 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO 21CM0001US - AMD 17h-19h PCIe Root Complex

Ubuntu 23.04 - 6.2.0-23-generic - GNOME Shell 44.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

Find More Test Results