mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
openssl-speed: add page (#21691)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# openssl speed
|
||||
|
||||
> Benchmark OpenSSL algorithms.
|
||||
> More information: <https://docs.openssl.org/master/man1/openssl-speed/>.
|
||||
|
||||
- Benchmark all available algorithms:
|
||||
|
||||
`openssl speed`
|
||||
|
||||
- Benchmark the most common algorithms:
|
||||
|
||||
`openssl speed {{md5 sha1 sha256 aes rsa}}`
|
||||
|
||||
- Benchmark a specific EVP cipher:
|
||||
|
||||
`openssl speed -evp {{aes-256-cbc}}`
|
||||
|
||||
- Benchmark algorithms for a specific duration (in seconds):
|
||||
|
||||
`openssl speed -seconds {{10}}`
|
||||
|
||||
- Benchmark using wall-clock time instead of CPU user time:
|
||||
|
||||
`openssl speed -elapsed`
|
||||
|
||||
- Output in machine readable format:
|
||||
|
||||
`openssl speed -mr`
|
||||
|
||||
- Benchmark multiple algorithms in parallel using all available CPU cores:
|
||||
|
||||
`openssl speed -multi $(nproc)`
|
||||
Reference in New Issue
Block a user