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.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 21 April 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 11.2.0

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 879 public results since 23 August 2021 with the latest data as of 25 April 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)
100th
13
492 +/- 10
99th
9
523 +/- 20
95th
18
616 +/- 52
87th
8
663 +/- 1
82nd
9
710 +/- 42
81st
5
735 +/- 71
77th
3
793 +/- 87
Mid-Tier
75th
> 802
75th
5
805 +/- 13
74th
10
810 +/- 38
71st
4
833 +/- 1
67th
35
860 +/- 36
67th
13
860 +/- 37
67th
3
862 +/- 8
65th
4
872 +/- 6
62nd
8
911 +/- 20
61st
4
932 +/- 15
60th
4
940 +/- 5
60th
3
947 +/- 5
59th
7
957 +/- 91
54th
20
1000 +/- 62
54th
7
1003 +/- 28
52nd
6
1019 +/- 22
51st
3
1033 +/- 7
Median
50th
1040
50th
4
1058 +/- 108
48th
14
1115 +/- 36
45th
3
1147 +/- 3
43rd
3
1218 +/- 4
42nd
3
1253 +/- 6
41st
4
1269 +/- 5
38th
3
1396 +/- 9
35th
4
1514 +/- 183
34th
4
1553 +/- 4
33rd
4
1581 +/- 2
32nd
3
1606 +/- 5
32nd
3
1615 +/- 3
30th
3
1640 +/- 5
30th
3
1661 +/- 1
29th
3
1686 +/- 2
29th
5
1716 +/- 203
29th
3
1778 +/- 123
28th
5
1785 +/- 13
28th
3
1788 +/- 1
28th
3
1803 +/- 13
27th
3
1855 +/- 4
26th
5
1898 +/- 52
26th
3
1920 +/- 1
Low-Tier
25th
> 1920
25th
5
1937 +/- 66
22nd
4
2106 +/- 15
22nd
4
2110 +/- 5
21st
10
2163 +/- 7
19th
3
2288 +/- 7
19th
3
2316 +/- 40
18th
6
2459 +/- 6
17th
3
2523 +/- 16
16th
3
2587 +/- 29
16th
3
2626 +/- 145
15th
3
2716 +/- 20
14th
3
2862 +/- 4
12th
3
3220 +/- 19
10th
4
3733 +/- 144
8th
4
4340 +/- 11
8th
4
4678 +/- 28
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile879 Results Range From 470 To 23859 Seconds470938140618742342281032783746421446825150561860866554702274907958842688949362983010298107661123411702121701263813106135741404214510149781544615914163821685017318177861825418722191901965820126205942106221530219982246622934234022387080160240320400

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, 33 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: 24 / Avg: 92.35 / Max: 434

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

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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseTimed GCC Compilation CPU Core ScalingTime To Compile4681012162432641281.37712.75424.13135.50846.8855

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 128-Core, ARMv8 Neoverse-N1 256-Core, ARMv8 Neoverse-N1 4-Core, ARMv8 Neoverse-V1 4-Core, ARMv8 rev 0 8-Core, Ampere ARMv8 Neoverse-N1 256-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core, Apple M1, Apple M1 Pro, Apple M2, Phytium FT-2000, Phytium S2500