mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
![]() unfortunetly the reference C implementation (https://github.com/oconnor663/blake3_reference_impl_c) was slower on static hash benchmark, faster on incremental hashing tho. while BLAKE2b and BLAKE2s were faster than SHA-2 on incremental hashing BLAKE3 is faster on both static and incremental hashing (compared to SHA-256), benchmark results: ********* Start testing of tst_qcryptographichash ********* Config: Using QTest library 4.12.0, Katie 4.12.0 PASS : tst_qcryptographichash::initTestCase() RESULT : tst_qcryptographichash::append():"10 (Md5)": 0.00281 msecs per iteration (total: 563, iterations: 200000) RESULT : tst_qcryptographichash::append():"10 (Sha1)": 0.00334 msecs per iteration (total: 669, iterations: 200000) RESULT : tst_qcryptographichash::append():"10 (Sha256)": 0.00468 msecs per iteration (total: 936, iterations: 200000) RESULT : tst_qcryptographichash::append():"10 (Sha512)": 0.00366 msecs per iteration (total: 732, iterations: 200000) RESULT : tst_qcryptographichash::append():"10 (BLAKE3)": 0.00219 msecs per iteration (total: 438, iterations: 200000) RESULT : tst_qcryptographichash::append():"100 (Md5)": 0.000660 msecs per iteration (total: 132, iterations: 200000) RESULT : tst_qcryptographichash::append():"100 (Sha1)": 0.00112 msecs per iteration (total: 224, iterations: 200000) RESULT : tst_qcryptographichash::append():"100 (Sha256)": 0.000935 msecs per iteration (total: 187, iterations: 200000) RESULT : tst_qcryptographichash::append():"100 (Sha512)": 0.00108 msecs per iteration (total: 216, iterations: 200000) RESULT : tst_qcryptographichash::append():"100 (BLAKE3)": 0.000775 msecs per iteration (total: 155, iterations: 200000) RESULT : tst_qcryptographichash::append():"250 (Md5)": 0.000590 msecs per iteration (total: 118, iterations: 200000) RESULT : tst_qcryptographichash::append():"250 (Sha1)": 0.00135 msecs per iteration (total: 271, iterations: 200000) RESULT : tst_qcryptographichash::append():"250 (Sha256)": 0.000870 msecs per iteration (total: 174, iterations: 200000) RESULT : tst_qcryptographichash::append():"250 (Sha512)": 0.00101 msecs per iteration (total: 203, iterations: 200000) RESULT : tst_qcryptographichash::append():"250 (BLAKE3)": 0.000655 msecs per iteration (total: 131, iterations: 200000) RESULT : tst_qcryptographichash::append():"500 (Md5)": 0.000575 msecs per iteration (total: 115, iterations: 200000) RESULT : tst_qcryptographichash::append():"500 (Sha1)": 0.00138 msecs per iteration (total: 276, iterations: 200000) RESULT : tst_qcryptographichash::append():"500 (Sha256)": 0.000855 msecs per iteration (total: 171, iterations: 200000) RESULT : tst_qcryptographichash::append():"500 (Sha512)": 0.00100 msecs per iteration (total: 200, iterations: 200000) RESULT : tst_qcryptographichash::append():"500 (BLAKE3)": 0.000610 msecs per iteration (total: 122, iterations: 200000) PASS : tst_qcryptographichash::append() RESULT : tst_qcryptographichash::append_once():"Md5": 0.00157 msecs per iteration (total: 315, iterations: 200000) RESULT : tst_qcryptographichash::append_once():"Sha1": 0.00217 msecs per iteration (total: 434, iterations: 200000) RESULT : tst_qcryptographichash::append_once():"Sha256": 0.00428 msecs per iteration (total: 857, iterations: 200000) RESULT : tst_qcryptographichash::append_once():"Sha512": 0.00319 msecs per iteration (total: 638, iterations: 200000) RESULT : tst_qcryptographichash::append_once():"BLAKE3": 0.00164 msecs per iteration (total: 329, iterations: 200000) PASS : tst_qcryptographichash::append_once() RESULT : tst_qcryptographichash::statichash():"Md5": 0.00149 msecs per iteration (total: 299, iterations: 200000) RESULT : tst_qcryptographichash::statichash():"Sha1": 0.00206 msecs per iteration (total: 413, iterations: 200000) RESULT : tst_qcryptographichash::statichash():"Sha256": 0.00408 msecs per iteration (total: 816, iterations: 200000) RESULT : tst_qcryptographichash::statichash():"Sha512": 0.00308 msecs per iteration (total: 616, iterations: 200000) RESULT : tst_qcryptographichash::statichash():"BLAKE3": 0.00137 msecs per iteration (total: 274, iterations: 200000) PASS : tst_qcryptographichash::statichash() PASS : tst_qcryptographichash::cleanupTestCase() Totals: 5 passed, 0 failed, 0 skipped ********* Finished testing of tst_qcryptographichash ********* Signed-off-by: Ivailo Monev <xakepa10@gmail.com> |
||
---|---|---|
.. | ||
auto | ||
benchmarks | ||
shared | ||
CMakeLists.txt |