Last active
June 29, 2017 12:06
-
-
Save piyush-kurur/9b219da994ac257165f4f4c7b26f5096 to your computer and use it in GitHub Desktop.
Open SSL vs Raaz on BLAKE2 performance
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
OpenSSL vs Raaz on BLAKE2. | |
-------------------------- BLAKE2s -------------------------------------------------- | |
OpenSSL Run 1 | |
ppk% time dd if=/dev/zero bs=1024 count=5000000 | openssl dgst -blake2s256 | |
5000000+0 records in | |
5000000+0 records out | |
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 10.8279 s, 473 MB/s | |
(stdin)= 6291437a7348872f66f25a1b824ea100d2da14496581bc49ea3d8cb97b51d2c7 | |
dd if=/dev/zero bs=1024 count=5000000 0.30s user 2.70s system 27% cpu 10.830 total | |
openssl dgst -blake2s256 10.18s user 0.66s system 100% cpu 10.830 total | |
OpenSSL Run 2 | |
ppk% time dd if=/dev/zero bs=1024 count=5000000 | openssl dgst -blake2s256 | |
5000000+0 records in | |
5000000+0 records out | |
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 12.1183 s, 423 MB/s | |
(stdin)= 6291437a7348872f66f25a1b824ea100d2da14496581bc49ea3d8cb97b51d2c7 | |
dd if=/dev/zero bs=1024 count=5000000 0.39s user 2.96s system 27% cpu 12.119 total | |
openssl dgst -blake2s256 11.56s user 0.56s system 100% cpu 12.119 total | |
Raaz Run 1 | |
ppk% time dd if=/dev/zero bs=1024 count=5000000 | stack exec raaz blake2ssum | |
5000000+0 records in | |
5000000+0 records out | |
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 9.7362 s, 526 MB/s | |
6291437a7348872f66f25a1b824ea100d2da14496581bc49ea3d8cb97b51d2c7 - | |
dd if=/dev/zero bs=1024 count=5000000 0.20s user 2.12s system 23% cpu 9.737 total | |
stack exec raaz blake2ssum 9.20s user 0.55s system 100% cpu 9.737 total | |
Raaz Run 2 | |
ppk% time dd if=/dev/zero bs=1024 count=5000000 | stack exec raaz blake2ssum | |
5000000+0 records in | |
5000000+0 records out | |
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 9.83059 s, 521 MB/s | |
6291437a7348872f66f25a1b824ea100d2da14496581bc49ea3d8cb97b51d2c7 - | |
dd if=/dev/zero bs=1024 count=5000000 0.29s user 2.10s system 24% cpu 9.831 total | |
stack exec raaz blake2ssum 9.36s user 0.49s system 100% cpu 9.832 total | |
----------------- Blake2b -------------------------------------------------------- | |
OpenSSL Run 1 | |
ppk% time dd if=/dev/zero bs=1024 count=5000000 | openssl dgst -blake2b512 | |
5000000+0 records in | |
5000000+0 records out | |
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 6.89347 s, 743 MB/s | |
(stdin)= 121e11fd59e8c6582fa5fd3be512b28f8563f4a0822dc8e0dad75486935b18ab50c288b1976b5a29c5a065dd4ec87f9e6106a8f0d69332c78a950b8f616a1745 | |
dd if=/dev/zero bs=1024 count=5000000 0.39s user 2.60s system 43% cpu 6.895 total | |
openssl dgst -blake2b512 6.19s user 0.71s system 100% cpu 6.895 total | |
OpenSSL Run 2 | |
ppk% time dd if=/dev/zero bs=1024 count=5000000 | openssl dgst -blake2b512 | |
5000000+0 records in | |
5000000+0 records out | |
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 6.75575 s, 758 MB/s | |
(stdin)= 121e11fd59e8c6582fa5fd3be512b28f8563f4a0822dc8e0dad75486935b18ab50c288b1976b5a29c5a065dd4ec87f9e6106a8f0d69332c78a950b8f616a1745 | |
dd if=/dev/zero bs=1024 count=5000000 0.37s user 2.55s system 43% cpu 6.757 total | |
openssl dgst -blake2b512 6.16s user 0.60s system 99% cpu 6.757 total | |
Raaz Run 1 | |
ppk% time dd if=/dev/zero bs=1024 count=5000000 | stack exec raaz blake2bsum | |
5000000+0 records in | |
5000000+0 records out | |
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 6.09958 s, 839 MB/s | |
121e11fd59e8c6582fa5fd3be512b28f8563f4a0822dc8e0dad75486935b18ab50c288b1976b5a29c5a065dd4ec87f9e6106a8f0d69332c78a950b8f616a1745 - | |
dd if=/dev/zero bs=1024 count=5000000 0.22s user 2.10s system 38% cpu 6.100 total | |
stack exec raaz blake2bsum 5.55s user 0.56s system 100% cpu 6.101 total | |
Raaz Run 2 | |
ppk% time dd if=/dev/zero bs=1024 count=5000000 | stack exec raaz blake2bsum | |
5000000+0 records in | |
5000000+0 records out | |
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 6.14341 s, 833 MB/s | |
121e11fd59e8c6582fa5fd3be512b28f8563f4a0822dc8e0dad75486935b18ab50c288b1976b5a29c5a065dd4ec87f9e6106a8f0d69332c78a950b8f616a1745 - | |
dd if=/dev/zero bs=1024 count=5000000 0.23s user 2.12s system 38% cpu 6.144 total | |
stack exec raaz blake2bsum 5.66s user 0.50s system 100% cpu 6.144 total | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment