Crypto++

Crypto++ is a C++ class library of cryptographic algorithms.

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

Project Site

cryptopp.com

Source Repository

github.com

Test Created

28 February 2020

Last Updated

22 July 2023

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 18 Seconds

Average Run Time

17 Minutes, 32 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.orgEventsCrypto++ Popularity Statisticspts/cryptopp2020.022020.042020.062020.082020.102020.122021.022021.042021.062021.082021.102021.122022.022022.042022.062022.082022.102022.122023.022023.042023.062023.082023.102023.122024.022024.042K4K6K8K10K
* 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 14 April 2024.
Keyed Algorithms34.2%Unkeyed Algorithms40.5%All Algorithms25.3%Test Option PopularityOpenBenchmarking.org

Revision History

pts/cryptopp-1.1.0   [View Source]   Sat, 22 Jul 2023 19:31:30 GMT
Update against latest upstream.

pts/cryptopp-1.0.1   [View Source]   Fri, 28 Feb 2020 15:00:20 GMT
Adjust settings.

pts/cryptopp-1.0.0   [View Source]   Fri, 28 Feb 2020 13:52:27 GMT
Initial commit of crypto++ benchmark.

Suites Using This Test

Cryptography

C/C++ Compiler Tests


Performance Metrics

Analyze Test Configuration:

Crypto++ 8.2

Test: Integer + Elliptic Curve Public Key Algorithms

OpenBenchmarking.org metrics for this test profile configuration based on 601 public results since 28 February 2020 with the latest data as of 1 July 2023.

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
MiB/second (Average)
94th
27
6588 +/- 14
94th
39
6580 +/- 685
90th
15
6374 +/- 157
86th
3
6147 +/- 164
85th
3
6105 +/- 19
82nd
5
5776 +/- 11
80th
6
5636 +/- 255
79th
19
5574 +/- 249
78th
4
5510 +/- 104
77th
5
5446 +/- 94
77th
6
5441 +/- 149
Mid-Tier
75th
< 5398
70th
3
5203 +/- 12
70th
3
5187 +/- 56
69th
6
5174 +/- 89
65th
3
4953 +/- 46
59th
3
4626 +/- 4
55th
4
4411 +/- 154
54th
3
4294 +/- 470
53rd
3
4244 +/- 57
52nd
3
4201 +/- 6
51st
5
4157 +/- 552
Median
50th
4153
47th
3
4073 +/- 1
42nd
4
3804 +/- 68
37th
4
3736 +/- 558
37th
32
3721 +/- 235
36th
3
3711 +/- 4
33rd
4
3453 +/- 1
32nd
3
3330 +/- 114
29th
3
3242 +/- 3
Low-Tier
25th
< 2941
24th
3
2714 +/- 181
23rd
4
2558 +/- 39
22nd
3
2546 +/- 32
17th
4
1928 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Test: Integer + Elliptic Curve Public Key Algorithms601 Results Range From 66 To 8249 MiB/second662303945587228861050121413781542170618702034219823622526269028543018318233463510367438384002416643304494465848224986515053145478564258065970613462986462662667906954711872827446761077747938810282661020304050

Based on OpenBenchmarking.org data, the selected test / test configuration (Crypto++ 8.2 - Test: Integer + Elliptic Curve Public Key Algorithms) has an average run-time of 14 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: Integer + Elliptic Curve Public Key AlgorithmsRun-Time612182430Min: 13 / Avg: 13.2 / Max: 26

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: Integer + Elliptic Curve Public Key AlgorithmsDeviation246810Min: 0 / Avg: 0.1 / Max: 4

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE2 (SSE2)
Used by default on supported hardware.
 
MOVDQA PUNPCKLQDQ MOVDQU SHUFPD MOVAPD MAXSD DIVSD MULSD COMISD ADDSD CVTSI2SD CVTSS2SD PADDQ UCOMISD MOVD PUNPCKHQDQ PSHUFD PSLLDQ PSRLDQ PSHUFHW XORPD MOVLPD PSUBQ PSHUFLW CVTTSD2SI SUBSD PMULUDQ MINSD
SSE3 (SSE3)
Used by default on supported hardware.
 
MOVDDUP
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PSHUFB PALIGNR
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VINSERTF128 VEXTRACTF128 VBROADCASTSD VBROADCASTSS VPERM2F128
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPERM2I128 VINSERTI128 VEXTRACTI128 VPERMD VPERMQ VPBROADCASTW VPBROADCASTQ VPBROADCASTD VPBROADCASTB VPSLLVQ VPSRLVQ
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
AESKEYGENASSIST AESIMC AESENC AESENCLAST AESDEC AESDECLAST
Vector AES (VAES)
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Ice Lake (2019).
Found on AMD processors since Zen 3 (2020).

 
VAESENC VAESENCLAST VAESDEC VAESDECLAST
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD213SD
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 17 January 2022

This test profile binary relies on the shared libraries libm.so.6, libc.so.6.

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)
SPARC64
sparc64
(Many Processors)
IBM Z
s390x
(Many Processors)
RISC-V 64-bit
riscv64
rv64imafdc
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core
ARMv7 32-bit
armv7l
ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A72 4-Core, ARMv7 rev 3 4-Core
ARMv6 32-bit
armv6l
ARMv7
DEC Alpha
alpha
Alpha
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A57 2-Core, ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A73 6-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 rev 0 4-Core, ARMv8 rev 0 8-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core, Apple, Apple M1, Apple M2, Rockchip ARMv8 Cortex-A76 6-Core