Benchmark Consolidated Enhancements and Code Cleanup

This commit is contained in:
gojimmypi 2022-12-08 13:38:06 -08:00
parent 9cb19e36fe
commit 6c3e301006
2 changed files with 849 additions and 360 deletions

View File

@ -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.
* 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
```sh

File diff suppressed because it is too large Load Diff