Add benchmarks for the cryptographic hash algorithms:
- RIPEMD160
- SHA1
- SHA256
- SHA512
Continues work on #7883.
Concept ACK
I'd make the buffers smaller (1 MiB?). That gives both more consistent times and more relevant results (it's hard to guess that the output is seconds per 32 MiB of data).
Tested ACK otherwise.
I'd make the buffers smaller (1 MiB?). That gives both more consistent times and more relevant results (it's hard to guess that the output is seconds per 32 MiB of data).
Yes, good point, will change the size to 1MiB. Or even 1MB - this is not a memory benchmark, there's no deep reason why this should be in MiB.
Add benchmarks for the cryptographic hash algorithms:
- RIPEMD160
- SHA1
- SHA256
- SHA512
Continues work on #7883.
Tested ACK 32114dd63493fd169bf666fc3a5b4a912c083766
Tested ACK 32114dd63493fd169bf666fc3a5b4a912c083766