Created
February 19, 2018 09:34
-
-
Save piyush-kurur/b779819e158e63b3060ac5c0579a35ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is performace of various primitives exposed by raaz. All rates are in bits per sec and | |
for hashes are the rate of compression. Actual performance should expect some additional overheads. | |
Buffer Size = 32768 | |
Iterations = 10000 | |
memset | |
time = 845.6 ns | |
cycles = 2698.5775 | |
rate = 0.31Tbps | |
secs/byte = 2.58nsec/byte | |
cycles/byte = 8.235404968261718e-2 | |
random | |
time = 38.41 μs | |
cycles = 122591.1985 | |
rate = 6.82Gbps | |
secs/byte = 1.17nsec/byte | |
cycles/byte = 3.7411864776611328 | |
entropy | |
time = 146.3 μs | |
cycles = 467036.3118 | |
rate = 1.79Gbps | |
secs/byte = 4.46nsec/byte | |
cycles/byte = 14.25281713256836 | |
chacha20-cportable-encrypt | |
time = 27.71 μs | |
cycles = 88457.3684 | |
rate = 9.45Gbps | |
secs/byte = 0.84nsec/byte | |
cycles/byte = 2.6995046508789065 | |
aes128cbc-cportable-encrypt | |
time = 188.2 μs | |
cycles = 600652.5948 | |
rate = 1.39Gbps | |
secs/byte = 5.74nsec/byte | |
cycles/byte = 18.330462487792968 | |
aes128cbc-cportable-decrypt | |
time = 269.3 μs | |
cycles = 859492.9545 | |
rate = 0.97Gbps | |
secs/byte = 8.21nsec/byte | |
cycles/byte = 26.22964338684082 | |
aes192cbc-cportable-encrypt | |
time = 229.6 μs | |
cycles = 732743.1522 | |
rate = 1.14Gbps | |
secs/byte = 7.00nsec/byte | |
cycles/byte = 22.361546392822266 | |
aes192cbc-cportable-decrypt | |
time = 319.5 μs | |
cycles = 1019865.6607 | |
rate = 0.82Gbps | |
secs/byte = 9.75nsec/byte | |
cycles/byte = 31.123829977416992 | |
aes256cbc-cportable-encrypt | |
time = 260.9 μs | |
cycles = 832887.9371 | |
rate = 1.00Gbps | |
secs/byte = 7.96nsec/byte | |
cycles/byte = 25.417722689819335 | |
aes256cbc-cportable-decrypt | |
time = 377.9 μs | |
cycles = 1206361.8412 | |
rate = 0.69Gbps | |
secs/byte = 11.53nsec/byte | |
cycles/byte = 36.81524173583984 | |
blake2b-cportable-compress | |
time = 37.44 μs | |
cycles = 119493.2668 | |
rate = 7.00Gbps | |
secs/byte = 1.14nsec/byte | |
cycles/byte = 3.6466451049804687 | |
blake2s-cportable-compress | |
time = 61.41 μs | |
cycles = 196034.8493 | |
rate = 4.26Gbps | |
secs/byte = 1.87nsec/byte | |
cycles/byte = 5.982508828735352 | |
sha1-cportable-compress | |
time = 64.69 μs | |
cycles = 206492.0758 | |
rate = 4.05Gbps | |
secs/byte = 1.97nsec/byte | |
cycles/byte = 6.301638055419922 | |
sha256-cportable-compress | |
time = 155.3 μs | |
cycles = 495791.9663 | |
rate = 1.68Gbps | |
secs/byte = 4.74nsec/byte | |
cycles/byte = 15.130370065307616 | |
sha512-cportable-compress | |
time = 99.31 μs | |
cycles = 316981.0536 | |
rate = 2.63Gbps | |
secs/byte = 3.03nsec/byte | |
cycles/byte = 9.673494067382812 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment