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, 50 Seconds

Average Run Time

22 Minutes, 57 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.032024.052024.072024.092024.114K8K12K16K20K
* 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 November 2024.
Function Objects14.6%Ctype14.7%Stepanov Vector13.9%Random Numbers12.4%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: Function Objects

OpenBenchmarking.org metrics for this test profile configuration based on 857 public results since 3 January 2019 with the latest data as of 2 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)
100th
6
9.3 +/- 0.2
95th
4
11.5 +/- 0.1
95th
9
11.5 +/- 1.0
95th
16
11.6 +/- 0.6
94th
7
11.8 +/- 1.0
94th
4
11.9 +/- 0.2
91st
5
12.5 +/- 0.2
91st
8
12.7 +/- 0.7
90th
6
12.9 +/- 0.5
87th
25
13.6 +/- 0.5
82nd
6
14.1 +/- 0.3
79th
5
14.5 +/- 0.6
79th
4
14.5 +/- 0.1
79th
22
14.5 +/- 0.5
Mid-Tier
75th
> 14.7
70th
8
15.0 +/- 0.2
64th
5
15.3 +/- 0.9
60th
3
15.5 +/- 0.2
57th
4
15.7 +/- 1.0
57th
3
15.8 +/- 0.9
54th
4
16.0 +/- 0.4
53rd
4
16.1 +/- 0.2
52nd
13
16.2 +/- 0.3
Median
50th
16.2
47th
11
16.3 +/- 0.6
45th
3
16.6 +/- 0.6
40th
4
16.8 +/- 0.7
30th
3
18.6 +/- 0.8
28th
10
19.0 +/- 0.2
Low-Tier
25th
> 19.1
25th
3
19.2 +/- 0.7
23rd
4
19.7 +/- 0.2
22nd
4
19.8 +/- 0.1
22nd
4
19.8 +/- 0.1
21st
4
19.9 +/- 0.2
20th
6
20.1 +/- 0.1
17th
5
20.6 +/- 0.3
14th
3
22.1 +/- 2.7
13th
4
22.7 +/- 0.2
10th
3
25.9 +/- 0.1
8th
4
26.8 +/- 0.7
5th
3
30.8 +/- 0.2
OpenBenchmarking.orgDistribution Of Public Results - Test: Function Objects870 Results Range From 9 To 118 Seconds9192939495969798999109119129140280420560700

Based on OpenBenchmarking.org data, the selected test / test configuration (CppPerformanceBenchmarks 9 - Test: Function Objects) has an average run-time of 2 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: Function ObjectsRun-Time246810Min: 1 / Avg: 1.07 / Max: 3

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 RunsTest: Function ObjectsDeviation246810Min: 0 / Avg: 0.11 / Max: 3

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: Function Objects46816320.40630.81261.21891.62522.0315

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, Spacemit X60, rv64imafdcvsu
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core, POWER9 44-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
DEC Alpha
alpha
Alpha
ARMv8 64-bit
aarch64
ARMv8, ARMv8 3-Core, ARMv8 8-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-A78 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 - 10 Benchmark Results

Intel Core i7-4790 - 8GB - 50GB

Debian 12 - 6.6.54-1.qubes.fc37.x86_64 - Xfce 4.18

1 System - 7 Benchmark Results

AMD Ryzen 9 9900X 12-Core - Shenzhen Meigao Electronic Equipment MS-A1 A5WSR v1.1 - AMD Device 14d8

Ubuntu 22.04 - 6.8.0-45-generic - 1.3.255

27 Systems - 30 Benchmark Results

ARMv8 Cortex-A76 - BCM2835 Raspberry Pi 5 Model B Rev 1.0 - 4096MB

Debian 12 - 6.1.0-rpi4-rpi-2712 - X Server

26 Systems - 30 Benchmark Results

Rockchip ARMv8 Cortex-A55 - Rockchip RK3566 OPi 3B - 4096MB

Ubuntu 22.04 - 5.10.160-rockchip-rk356x - Xfce 4.16

26 Systems - 30 Benchmark Results

Rockchip ARMv8 Cortex-A55 - Radxa ROCK3 Model A - 2048MB

Ubuntu 20.04 - 4.19.193-58-rockchip-gbac1feba87f0 - GCC 9.4.0

25 Systems - 30 Benchmark Results

ARMv8 Cortex-A55 - Khadas VIM3L - 2048MB

Ubuntu 20.04 - 4.9.241 - X Server 1.20.13

24 Systems - 30 Benchmark Results

ARMv8 Cortex-A78E - EDK II 3.1-32827747 - 8GB

Ubuntu 20.04 - 5.10.104-tegra - GNOME Shell 3.36.9

24 Systems - 30 Benchmark Results

Rockchip ARMv8 - Radxa ROCK Pi S - 425MB

Ubuntu 18.04 - 4.4.143-55-rockchip-g6b7accbc999b - X Server

1 System - 68 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 62 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 59 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 58 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 68 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.4xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 62 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.4xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 59 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.4xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

Most Popular Test Results

OpenBenchmarking.org Results Compare

48 Systems - 62 Benchmark Results

AMD A10-7870K Radeon R7 12 Compute Cores 4C+8G - ASUS A88XM-E - AMD Family 15h

Ubuntu 18.10 - 4.18.0-13-generic - GNOME Shell 3.30.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

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

3 Systems - 301 Benchmark Results

Intel Core i5-4670 - MSI B85M-P33 - Intel 4th Gen Core DRAM

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

6 Systems - 71 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

2 Systems - 51 Benchmark Results

AMD Ryzen 7 1800X Eight-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Family 17h

Ubuntu 19.04 - 4.20.0-999-generic - GNOME Shell 3.30.1

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

Find More Test Results