Skip to content

Commit

Permalink
WIP rust hashes results
Browse files Browse the repository at this point in the history
for now just docs, will only some to the lists (README, *.html)
  • Loading branch information
rurban committed Sep 15, 2023
1 parent 27b1533 commit 21d0454
Show file tree
Hide file tree
Showing 35 changed files with 38,377 additions and 22 deletions.
74 changes: 74 additions & 0 deletions doc/Adler_rs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
-------------------------------------------------------------------------------
--- Testing Adler_rs "Adler-32 checksum implementation (used by `zlib`, crate `adler`)" GOOD

[[[ Sanity Tests ]]]

Verification value 0x6E8E8F4D ....... PASS
Running sanity check 1 .......... PASS
Running AppendedZeroesTest .......... PASS

[[[ Speed Tests ]]]

Bulk speed test - 262144-byte keys
Alignment 7 - 2.030 bytes/cycle - 5808.35 MiB/sec @ 3 ghz
Alignment 6 - 2.025 bytes/cycle - 5793.19 MiB/sec @ 3 ghz
Alignment 5 - 2.022 bytes/cycle - 5786.23 MiB/sec @ 3 ghz
Alignment 4 - 2.029 bytes/cycle - 5805.70 MiB/sec @ 3 ghz
Alignment 3 - 2.029 bytes/cycle - 5803.75 MiB/sec @ 3 ghz
Alignment 2 - 2.029 bytes/cycle - 5806.37 MiB/sec @ 3 ghz
Alignment 1 - 2.029 bytes/cycle - 5805.15 MiB/sec @ 3 ghz
Alignment 0 - 2.030 bytes/cycle - 5807.48 MiB/sec @ 3 ghz
Average - 2.028 bytes/cycle - 5802.03 MiB/sec @ 3 ghz

Small key speed test - 1-byte keys - 30.00 cycles/hash
Small key speed test - 2-byte keys - 31.00 cycles/hash
Small key speed test - 3-byte keys - 32.00 cycles/hash
Small key speed test - 4-byte keys - 46.00 cycles/hash
Small key speed test - 5-byte keys - 46.00 cycles/hash
Small key speed test - 6-byte keys - 47.42 cycles/hash
Small key speed test - 7-byte keys - 48.00 cycles/hash
Small key speed test - 8-byte keys - 50.00 cycles/hash
Small key speed test - 9-byte keys - 50.76 cycles/hash
Small key speed test - 10-byte keys - 51.77 cycles/hash
Small key speed test - 11-byte keys - 52.69 cycles/hash
Small key speed test - 12-byte keys - 56.99 cycles/hash
Small key speed test - 13-byte keys - 54.13 cycles/hash
Small key speed test - 14-byte keys - 54.86 cycles/hash
Small key speed test - 15-byte keys - 53.94 cycles/hash
Small key speed test - 16-byte keys - 54.03 cycles/hash
Small key speed test - 17-byte keys - 54.38 cycles/hash
Small key speed test - 18-byte keys - 56.06 cycles/hash
Small key speed test - 19-byte keys - 55.62 cycles/hash
Small key speed test - 20-byte keys - 55.00 cycles/hash
Small key speed test - 21-byte keys - 55.79 cycles/hash
Small key speed test - 22-byte keys - 56.99 cycles/hash
Small key speed test - 23-byte keys - 57.42 cycles/hash
Small key speed test - 24-byte keys - 55.97 cycles/hash
Small key speed test - 25-byte keys - 57.39 cycles/hash
Small key speed test - 26-byte keys - 58.47 cycles/hash
Small key speed test - 27-byte keys - 58.24 cycles/hash
Small key speed test - 28-byte keys - 57.00 cycles/hash
Small key speed test - 29-byte keys - 58.39 cycles/hash
Small key speed test - 30-byte keys - 59.45 cycles/hash
Small key speed test - 31-byte keys - 60.84 cycles/hash
Average 52.147 cycles/hash

[[[ 'Hashmap' Speed Tests ]]]

std::unordered_map
Init std HashMapTest: 953.977 cycles/op (479826 inserts, 1% deletions)
Running std HashMapTest: 859.126 cycles/op (4.6 stdv)

greg7mdp/parallel-hashmap
Init fast HashMapTest: 205.688 cycles/op (479826 inserts, 1% deletions)
Running fast HashMapTest: 575.244 cycles/op (1.2 stdv) ....... PASS

[[[ Avalanche Tests ]]]

Testing 24-bit keys -> 32-bit hashes, 300000 reps.[[[ BadSeeds Tests ]]]

Testing 0 internal secrets:
0x0 PASS
Testing the first 0xffffffff seeds ...
4 threads starting...
at 0
1,972 changes: 1,972 additions & 0 deletions doc/AsconA_rs.txt

Large diffs are not rendered by default.

1,971 changes: 1,971 additions & 0 deletions doc/Ascon_rs.txt

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions doc/BLAKE2b-512_rs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Invalid hash bit width 512 for hash 'BLAKE2b-512_rs'
Input vcode 0x00000001, Output vcode 0x00000001, Result vcode 0x00000001
Verification value is 0x00000001 - Testing took 0.000023 seconds
-------------------------------------------------------------------------------
Invalid hash bit width 512 for hash 'BLAKE2b-512_rs'
1,987 changes: 1,987 additions & 0 deletions doc/BLAKE2s-256_rs.txt

Large diffs are not rendered by default.

1,987 changes: 1,987 additions & 0 deletions doc/BLAKE3_rs.txt

Large diffs are not rendered by default.

690 changes: 690 additions & 0 deletions doc/CRC32_rs.txt

Large diffs are not rendered by default.

1,315 changes: 1,315 additions & 0 deletions doc/CSHAKE128_rs.txt

Large diffs are not rendered by default.

1,969 changes: 1,969 additions & 0 deletions doc/CSHAKE256_rs.txt

Large diffs are not rendered by default.

1,216 changes: 1,216 additions & 0 deletions doc/FNV_rs.txt

Large diffs are not rendered by default.

1,148 changes: 1,148 additions & 0 deletions doc/Highway_rs.txt

Large diffs are not rendered by default.

1,753 changes: 1,753 additions & 0 deletions doc/Keccak-224_rs.txt

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions doc/Keccak-256_CN_rs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Invalid hash bit width 1600 for hash 'Keccak-256_CN_rs'
Input vcode 0x00000001, Output vcode 0x00000001, Result vcode 0x00000001
Verification value is 0x00000001 - Testing took 0.000020 seconds
-------------------------------------------------------------------------------
Invalid hash bit width 1600 for hash 'Keccak-256_CN_rs'
1,971 changes: 1,971 additions & 0 deletions doc/Keccak-256_rs.txt

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions doc/Keccak-384_rs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Invalid hash bit width 384 for hash 'Keccak-384_rs'
Input vcode 0x00000001, Output vcode 0x00000001, Result vcode 0x00000001
Verification value is 0x00000001 - Testing took 0.000020 seconds
-------------------------------------------------------------------------------
Invalid hash bit width 384 for hash 'Keccak-384_rs'
5 changes: 5 additions & 0 deletions doc/Keccak-512_rs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Invalid hash bit width 512 for hash 'Keccak-512_rs'
Input vcode 0x00000001, Output vcode 0x00000001, Result vcode 0x00000001
Verification value is 0x00000001 - Testing took 0.000025 seconds
-------------------------------------------------------------------------------
Invalid hash bit width 512 for hash 'Keccak-512_rs'
Loading

0 comments on commit 21d0454

Please sign in to comment.