update benchmark numbers to reflect performance impact of fixes

This commit is contained in:
bunnie 2024-02-08 17:42:55 +08:00
parent 1638ea2e04
commit 899dd84b5a

View file

@ -47,7 +47,8 @@ power consumption -
~50% power savings to use hardware hasher
v0.10.8 API implementation
TEST_MAX_LEN = 8192 (fixed length) / TEST_ITERS = 1000: hw 11.464ms/hash, sw 21.502ms/hash
TEST_MAX_LEN = 8192 (fixed length) / TEST_ITERS = 1000: hw 11.464ms/hash, sw 21.502ms/hash (with trng ID bug (ID was not regenerated on each iteration), oops)
TEST_MAX_LEN = 8192 (fixed length) / TEST_ITERS = 1000: hw 12.196ms/hash, sw 21.643ms/hash
*/
pub fn benchmark_thread(sid0: usize, sid1: usize, sid2: usize, sid3: usize) {