mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
Merge pull request #5871 from gojimmypi/BenchmarkEnhancements
Benchmark Enhancements and Code Cleanup
This commit is contained in:
@ -7,6 +7,19 @@ 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
|
||||
|
||||
To set the output to always be CSV:
|
||||
|
||||
`-DWOLFSSL_BENCHMARK_FIXED_CSV`
|
||||
|
||||
## Usage
|
||||
|
||||
```sh
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user