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 21 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: All Algorithms

OpenBenchmarking.org metrics for this test profile configuration based on 368 public results since 28 February 2020 with the latest data as of 22 June 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)
97th
4
2258 +/- 132
94th
32
2165 +/- 286
88th
3
2032 +/- 3
86th
13
1998 +/- 45
82nd
3
1882 +/- 3
81st
4
1842 +/- 2
76th
4
1775 +/- 107
76th
3
1771 +/- 18
Mid-Tier
75th
< 1763
72nd
3
1693 +/- 7
69th
6
1669 +/- 27
58th
3
1451 +/- 28
51st
3
1371 +/- 1
Median
50th
1351
46th
4
1272 +/- 11
37th
3
1091 +/- 1
35th
3
1037 +/- 46
29th
4
891 +/- 7
Low-Tier
25th
< 735
25th
4
719 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Test: All Algorithms368 Results Range From 65 To 2633 MiB/second65117169221273325377429481533585637689741793845897949100110531105115712091261131313651417146915211573162516771729178118331885193719892041209321452197224923012353240524572509256126132665612182430

Based on OpenBenchmarking.org data, the selected test / test configuration (Crypto++ 8.2 - Test: All Algorithms) has an average run-time of 36 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: All AlgorithmsRun-Time20406080100Min: 34 / Avg: 35.64 / Max: 106

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: All AlgorithmsDeviation246810Min: 0 / Avg: 0.08 / Max: 6

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)
IBM Z
s390x
(Many Processors)
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
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, 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, Rockchip ARMv8 Cortex-A76 6-Core