CppPerformanceBenchmarks

CppPerformanceBenchmarks is a set of C++ compiler performance benchmarks.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark cpp-perf-bench.

Project Site

gitlab.com

Test Created

3 January 2019

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

1 Minute, 49 Seconds

Average Run Time

18 Minutes, 2 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

30k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsCppPerformanceBenchmarks Popularity Statisticspts/cpp-perf-bench2019.012019.032019.052019.072019.092019.112020.012020.032020.052020.072020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.034K8K12K16K20K
* 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 22 April 2024.
Function Objects14.6%Ctype14.8%Stepanov Vector13.9%Random Numbers12.3%Math Library14.4%Atol14.7%Stepanov Abstraction15.2%Test Option PopularityOpenBenchmarking.org

Revision History

pts/cpp-perf-bench-1.0.0   [View Source]   Thu, 03 Jan 2019 07:56:07 GMT
Initial commit of CppPerformanceBenchmarks.

Suites Using This Test

C/C++ Compiler Tests

CPU Massive

Single-Threaded


Performance Metrics

Analyze Test Configuration:

CppPerformanceBenchmarks 9

Test: Math Library

OpenBenchmarking.org metrics for this test profile configuration based on 823 public results since 3 January 2019 with the latest data as of 24 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)
98th
3
172 +/- 20
97th
4
198 +/- 20
94th
9
234 +/- 9
90th
4
255 +/- 1
85th
6
269 +/- 5
81st
5
276 +/- 21
80th
8
279 +/- 7
79th
21
283 +/- 24
76th
4
291 +/- 29
Mid-Tier
75th
> 293
63rd
3
333 +/- 1
61st
3
348 +/- 6
Median
50th
381
40th
11
416 +/- 10
40th
6
417 +/- 24
39th
4
421 +/- 2
38th
3
432 +/- 64
37th
3
446 +/- 2
29th
3
497 +/- 28
27th
13
508 +/- 9
27th
3
509 +/- 52
27th
4
510 +/- 20
Low-Tier
25th
> 514
22nd
3
555 +/- 6
12th
9
760 +/- 57
11th
4
781 +/- 4
11th
5
788 +/- 24
10th
3
849 +/- 2
2nd
3
3316 +/- 2
OpenBenchmarking.orgDistribution Of Public Results - Test: Math Library823 Results Range From 139 To 7338 Seconds13928342757171585910031147129114351579172318672011215522992443258727312875301931633307345135953739388340274171431544594603474748915035517953235467561157555899604361876331647566196763690770517195733970140210280350

Based on OpenBenchmarking.org data, the selected test / test configuration (CppPerformanceBenchmarks 9 - Test: Math Library) has an average run-time of 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 BenchmarkTest: Math LibraryRun-Time20406080100Min: 7 / Avg: 22.97 / Max: 119

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 RunsTest: Math LibraryDeviation3691215Min: 0 / Avg: 0.19 / Max: 10

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 BaseCppPerformanceBenchmarks CPU Core ScalingTest: Math Library468160.41880.83761.25641.67522.094

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)
IBM Z
s390x
(Many Processors)
RISC-V 64-bit
riscv64
SiFive RISC-V, rv64imafdcvsu
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000, Loongson-3A5000LL, Loongson-3A6000, Loongson-3C5000L
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 rev 3 4-Core
ARMv8 64-bit
arm64
Apple M1, Apple M1 Pro, Apple M2 Pro
ARMv8 64-bit
aarch64
ARMv8, ARMv8 3-Core, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A53 8-Core, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A72 6-Core, ARMv8 Cortex-A73 4-Core, ARMv8 Cortex-A73 6-Core, ARMv8 Cortex-A73 8-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-A78E 6-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N2, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2, Ampere eMAG ARMv8 32-Core, Rockchip ARMv8 4-Core, Rockchip ARMv8 Cortex-A55 4-Core, Rockchip ARMv8 Cortex-A72 6-Core, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 79 Benchmark Results

Intel Xeon Platinum 8275CL - Amazon EC2 c5.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 74 Benchmark Results

Intel Xeon Platinum 8275CL - Amazon EC2 c5.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 50 Benchmark Results

Intel Xeon Platinum 8275CL - Amazon EC2 c5.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 44 Benchmark Results

Intel Xeon Platinum 8275CL - Amazon EC2 c5.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 78 Benchmark Results

Intel Xeon Platinum 8488C - Amazon EC2 c7i.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 73 Benchmark Results

Intel Xeon Platinum 8488C - Amazon EC2 c7i.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 78 Benchmark Results

Intel Xeon Platinum 8488C - Amazon EC2 c7i.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 73 Benchmark Results

Intel Xeon Platinum 8488C - Amazon EC2 c7i.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 78 Benchmark Results

AMD EPYC 9R14 - Amazon EC2 c7a.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 73 Benchmark Results

AMD EPYC 9R14 - Amazon EC2 c7a.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 49 Benchmark Results

Intel Xeon Platinum 8488C - Amazon EC2 c7i.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 49 Benchmark Results

Intel Xeon Platinum 8488C - Amazon EC2 c7i.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 43 Benchmark Results

Intel Xeon Platinum 8488C - Amazon EC2 c7i.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 43 Benchmark Results

Intel Xeon Platinum 8488C - Amazon EC2 c7i.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 49 Benchmark Results

AMD EPYC 9R14 - Amazon EC2 c7a.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.214-202.855.amzn2.x86_64 - GCC 7.3.1 20180712

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 301 Benchmark Results

Intel Core i5-10600K - ASUS PRIME Z490M-PLUS - Intel Comet Lake PCH

Ubuntu 20.04 - 5.4.0-40-generic - GNOME Shell 3.36.3

2 Systems - 475 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 19.10 - 5.3.0-40-generic - GNOME Shell 3.34.1

6 Systems - 79 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - ASUS ROG ZENITH EXTREME - AMD 17h

Ubuntu 18.04 - 4.18.0-18-generic - GNOME Shell 3.28.3

4 Systems - 109 Benchmark Results

Intel Core i9-7980XE - ASUS PRIME X299-A - Intel Sky Lake-E DMI3 Registers

Clear Linux OS 29350 - 5.0.14-753.native - GNOME Shell 3.32.1

6 Systems - 71 Benchmark Results

Intel Core i9-7980XE - ASUS PRIME X299-A - Intel Sky Lake-E DMI3 Registers

Ubuntu 18.04 - 4.18.0-18-generic - GNOME Shell 3.28.3

1 System - 7 Benchmark Results

Intel Atom x5-Z8350 - AAEON MF-001 - Intel Atom

Arch Linux - 5.2.7-arch1-1-ARCH - GCC 9.1.0

3 Systems - 158 Benchmark Results

AMD Ryzen 7 1700 Eight-Core - ASRock X370 Gaming X - AMD 17h

Arch rolling - 5.11.16-arch1-1 - Xfce 4.16

3 Systems - 44 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Device 1480

Ubuntu 18.04 - 5.2.0-999-generic - GNOME Shell 3.28.3

6 Systems - 254 Benchmark Results

AMD Ryzen 3 PRO 4350G - ASRock B450M Pro4 - AMD Renoir Root Complex

Clear Linux OS 34550 - 5.10.32-1035.native - GNOME Shell 40.0

Find More Test Results