Skip to content

Benchmarks

brycx edited this page Feb 25, 2020 · 4 revisions

The following benchmarks provide an overview of the performance that can be expected from orion. If performance is of great importance, users are encouraged to benchmark orion on their own systems.

The following benchmarks were run with:

  • Rust version: rustc 1.41.0 (5e1a79984 2020-01-27)
  • Command: cargo bench
  • orion version: 0.15.0
Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Algorithm Input (KiB) Time (ms) Throughput (MiB/s)
Poly1305 128 N/A 1360.896
HMAC-SHA512 128 N/A 430.83
ChaCha20Poly1305 128 N/A 419.22
XChaCha20Poly1305 128 N/A 419.53
SHA512 128 N/A 434.43
BLAKE2b 128 N/A 914.82
ChaCha20 128 N/A 610.93
XChaCha20 128 N/A 610.23
HKDF-HMAC-SHA512 (512 bytes output) N/A 0.0083842 58.238
PBKDF2-HMAC-SHA512 (10000 iter., 64 bytes output) N/A 7.3014 N/A
Argon2i (3 iter., 32 bytes output, 128 KiB memory) N/A 0.20473 0.5962598
Raspberry Pi Model B V1.1
Algorithm Input (KiB) Time (ms) Throughput (MiB/s)
Poly1305 128 N/A 75.633
HMAC-SHA512 128 N/A 10.273
ChaCha20Poly1305 128 N/A 22.009
XChaCha20Poly1305 128 N/A 22.000
SHA512 128 N/A 10.312
BLAKE2b 128 N/A 19.337
ChaCha20 128 N/A 30.824
XChaCha20 128 N/A 30.797
HKDF-HMAC-SHA512 (512 bytes output) N/A 0.29703 1.6439
PBKDF2-HMAC-SHA512 (10000 iter., 64 bytes output)) N/A 270.07 N/A
Argon2i (3 iter., 32 bytes output, 128 KiB memory) N/A 7.4657 0.01635059
Clone this wiki locally