mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Benchmark Consolidated Enhancements and Code Cleanup
This commit is contained in:
@ -7,6 +7,16 @@ Tool for performing cryptographic algorithm benchmarking.
|
|||||||
* Symmetric algorithms like AES and ChaCha20 are measured in Killobytes (KB) or Megabytes (MB) per second.
|
* Symmetric algorithms like AES and ChaCha20 are measured in Killobytes (KB) or Megabytes (MB) per second.
|
||||||
* Asymmetric algorithms like RSA and ECC are measured using Operations Per Second (Ops) per second.
|
* Asymmetric algorithms like RSA and ECC are measured using Operations Per Second (Ops) per second.
|
||||||
|
|
||||||
|
## Compile Options
|
||||||
|
|
||||||
|
Compile with the following options for fixed units. Otherwise the units will auto-scale. See `-base10` parameter option, below.
|
||||||
|
|
||||||
|
`-DWOLFSSL_BENCHMARK_FIXED_UNITS_GB` for GB/GiB
|
||||||
|
`-DWOLFSSL_BENCHMARK_FIXED_UNITS_MB` for MB/MiB
|
||||||
|
`-DWOLFSSL_BENCHMARK_FIXED_UNITS_KB` for KB/KiB
|
||||||
|
`-DWOLFSSL_BENCHMARK_FIXED_UNITS_B` for Bytes
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user