Skip to content

Commit

Permalink
fixup prvhash speeds from my bench machine
Browse files Browse the repository at this point in the history
which is usually much slower and stable. to be comparable to the others.
  • Loading branch information
rurban committed Aug 13, 2020
1 parent ac8bd41 commit 01fb4d8
Show file tree
Hide file tree
Showing 7 changed files with 186 additions and 186 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ SMhasher
| -------------------------------------- | | | | | |
| [tifuhash_64](doc/tifuhash_64.txt) | 35.60 | 1679.52 |1212.75 (15)| 276 | |
| [floppsyhash_64](doc/floppsyhash.txt) | 191.95 | 450.93 | 821.11 (152)| 623 | |
| [prvhash](doc/prvhash.txt) | 393.21 | 142.03 | 532.15 (125)| 157 | |
| [prvhash42_32](doc/prvhash42_32.txt) | 687.08 | 76.57 | 475.08 (131)| 157 | |
| [prvhash42_64](doc/prvhash42_64.txt) | 347.90 | 138.93 | 488.99 (5) | 157 | |
| [prvhash42_128](doc/prvhash42_128.txt) | 189.37 | 249.06 | 578.11 (19)| 157 | |
| [prvhash](doc/prvhash.txt) | 302.97 | 180.76 | 221.50 (2) | 157 | |
| [prvhash42_32](doc/prvhash42_32.txt) | 475.30 | 108.44 | 205.53 (1) | 157 | |
| [prvhash42_64](doc/prvhash42_64.txt) | 255.64 | 193.90 | 220.84 (4) | 157 | |
| [prvhash42_128](doc/prvhash42_128.txt) | 141.42 | 334.96 | 301.14 (3) | 157 | |
| [chaskey](doc/chaskey.txt) | 735.85 | 168.05 | 336.07 (4) |1609 | |
| [SipHash](doc/SipHash.txt) | 958.78 | 141.84 | 278.15 (3) |1071 | |
| [HalfSipHash](doc/HalfSipHash.txt) | 741.59 | 122.25 | 256.22 (20)| 700 | zeroes |
Expand Down
84 changes: 42 additions & 42 deletions doc/prvhash.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,48 +10,48 @@ Running AppendedZeroesTest .......... PASS
[[[ Speed Tests ]]]

Bulk speed test - 262144-byte keys
Alignment 7 - 0.138 bytes/cycle - 393.39 MiB/sec @ 3 ghz
Alignment 6 - 0.138 bytes/cycle - 393.58 MiB/sec @ 3 ghz
Alignment 5 - 0.138 bytes/cycle - 393.61 MiB/sec @ 3 ghz
Alignment 4 - 0.138 bytes/cycle - 393.58 MiB/sec @ 3 ghz
Alignment 3 - 0.137 bytes/cycle - 393.19 MiB/sec @ 3 ghz
Alignment 2 - 0.137 bytes/cycle - 393.12 MiB/sec @ 3 ghz
Alignment 1 - 0.137 bytes/cycle - 392.68 MiB/sec @ 3 ghz
Alignment 0 - 0.137 bytes/cycle - 392.52 MiB/sec @ 3 ghz
Average - 0.137 bytes/cycle - 393.21 MiB/sec @ 3 ghz

Small key speed test - 1-byte keys - 34.91 cycles/hash
Small key speed test - 2-byte keys - 42.00 cycles/hash
Small key speed test - 3-byte keys - 49.00 cycles/hash
Small key speed test - 4-byte keys - 56.00 cycles/hash
Small key speed test - 5-byte keys - 63.00 cycles/hash
Small key speed test - 6-byte keys - 69.89 cycles/hash
Small key speed test - 7-byte keys - 77.00 cycles/hash
Small key speed test - 8-byte keys - 84.00 cycles/hash
Small key speed test - 9-byte keys - 90.90 cycles/hash
Small key speed test - 10-byte keys - 97.90 cycles/hash
Small key speed test - 11-byte keys - 105.00 cycles/hash
Small key speed test - 12-byte keys - 112.71 cycles/hash
Small key speed test - 13-byte keys - 119.98 cycles/hash
Small key speed test - 14-byte keys - 126.91 cycles/hash
Small key speed test - 15-byte keys - 133.92 cycles/hash
Small key speed test - 16-byte keys - 140.88 cycles/hash
Small key speed test - 17-byte keys - 147.97 cycles/hash
Small key speed test - 18-byte keys - 156.00 cycles/hash
Small key speed test - 19-byte keys - 161.92 cycles/hash
Small key speed test - 20-byte keys - 169.90 cycles/hash
Small key speed test - 21-byte keys - 176.94 cycles/hash
Small key speed test - 22-byte keys - 183.96 cycles/hash
Small key speed test - 23-byte keys - 190.94 cycles/hash
Small key speed test - 24-byte keys - 197.96 cycles/hash
Small key speed test - 25-byte keys - 204.93 cycles/hash
Small key speed test - 26-byte keys - 211.86 cycles/hash
Small key speed test - 27-byte keys - 220.20 cycles/hash
Small key speed test - 28-byte keys - 238.28 cycles/hash
Small key speed test - 29-byte keys - 234.31 cycles/hash
Small key speed test - 30-byte keys - 251.94 cycles/hash
Small key speed test - 31-byte keys - 251.82 cycles/hash
Average 142.030 cycles/hash
Alignment 7 - 0.106 bytes/cycle - 302.96 MiB/sec @ 3 ghz
Alignment 6 - 0.106 bytes/cycle - 302.95 MiB/sec @ 3 ghz
Alignment 5 - 0.106 bytes/cycle - 302.96 MiB/sec @ 3 ghz
Alignment 4 - 0.106 bytes/cycle - 303.06 MiB/sec @ 3 ghz
Alignment 3 - 0.106 bytes/cycle - 302.94 MiB/sec @ 3 ghz
Alignment 2 - 0.106 bytes/cycle - 303.04 MiB/sec @ 3 ghz
Alignment 1 - 0.106 bytes/cycle - 302.93 MiB/sec @ 3 ghz
Alignment 0 - 0.106 bytes/cycle - 302.94 MiB/sec @ 3 ghz
Average - 0.106 bytes/cycle - 302.97 MiB/sec @ 3 ghz

Small key speed test - 1-byte keys - 38.00 cycles/hash
Small key speed test - 2-byte keys - 47.00 cycles/hash
Small key speed test - 3-byte keys - 56.00 cycles/hash
Small key speed test - 4-byte keys - 65.94 cycles/hash
Small key speed test - 5-byte keys - 75.00 cycles/hash
Small key speed test - 6-byte keys - 84.72 cycles/hash
Small key speed test - 7-byte keys - 94.00 cycles/hash
Small key speed test - 8-byte keys - 103.00 cycles/hash
Small key speed test - 9-byte keys - 112.97 cycles/hash
Small key speed test - 10-byte keys - 122.19 cycles/hash
Small key speed test - 11-byte keys - 132.00 cycles/hash
Small key speed test - 12-byte keys - 141.74 cycles/hash
Small key speed test - 13-byte keys - 150.54 cycles/hash
Small key speed test - 14-byte keys - 161.00 cycles/hash
Small key speed test - 15-byte keys - 171.00 cycles/hash
Small key speed test - 16-byte keys - 180.28 cycles/hash
Small key speed test - 17-byte keys - 189.00 cycles/hash
Small key speed test - 18-byte keys - 199.12 cycles/hash
Small key speed test - 19-byte keys - 209.76 cycles/hash
Small key speed test - 20-byte keys - 219.16 cycles/hash
Small key speed test - 21-byte keys - 228.00 cycles/hash
Small key speed test - 22-byte keys - 238.81 cycles/hash
Small key speed test - 23-byte keys - 248.72 cycles/hash
Small key speed test - 24-byte keys - 257.85 cycles/hash
Small key speed test - 25-byte keys - 266.73 cycles/hash
Small key speed test - 26-byte keys - 277.47 cycles/hash
Small key speed test - 27-byte keys - 287.69 cycles/hash
Small key speed test - 28-byte keys - 296.69 cycles/hash
Small key speed test - 29-byte keys - 306.32 cycles/hash
Small key speed test - 30-byte keys - 316.31 cycles/hash
Small key speed test - 31-byte keys - 326.45 cycles/hash
Average 180.757 cycles/hash

[[[ 'Hashmap' Speed Tests ]]]

Expand Down
84 changes: 42 additions & 42 deletions doc/prvhash42_128.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,48 +10,48 @@ Running AppendedZeroesTest .......... PASS
[[[ Speed Tests ]]]

Bulk speed test - 262144-byte keys
Alignment 7 - 0.066 bytes/cycle - 189.45 MiB/sec @ 3 ghz
Alignment 6 - 0.066 bytes/cycle - 189.40 MiB/sec @ 3 ghz
Alignment 5 - 0.066 bytes/cycle - 189.39 MiB/sec @ 3 ghz
Alignment 4 - 0.066 bytes/cycle - 189.33 MiB/sec @ 3 ghz
Alignment 3 - 0.066 bytes/cycle - 189.40 MiB/sec @ 3 ghz
Alignment 2 - 0.066 bytes/cycle - 189.34 MiB/sec @ 3 ghz
Alignment 1 - 0.066 bytes/cycle - 189.34 MiB/sec @ 3 ghz
Alignment 0 - 0.066 bytes/cycle - 189.30 MiB/sec @ 3 ghz
Average - 0.066 bytes/cycle - 189.37 MiB/sec @ 3 ghz

Small key speed test - 1-byte keys - 27.00 cycles/hash
Small key speed test - 2-byte keys - 42.00 cycles/hash
Small key speed test - 3-byte keys - 56.00 cycles/hash
Small key speed test - 4-byte keys - 70.98 cycles/hash
Small key speed test - 5-byte keys - 85.82 cycles/hash
Small key speed test - 6-byte keys - 100.92 cycles/hash
Small key speed test - 7-byte keys - 115.96 cycles/hash
Small key speed test - 8-byte keys - 129.99 cycles/hash
Small key speed test - 9-byte keys - 145.98 cycles/hash
Small key speed test - 10-byte keys - 160.00 cycles/hash
Small key speed test - 11-byte keys - 174.94 cycles/hash
Small key speed test - 12-byte keys - 189.95 cycles/hash
Small key speed test - 13-byte keys - 203.97 cycles/hash
Small key speed test - 14-byte keys - 219.97 cycles/hash
Small key speed test - 15-byte keys - 233.99 cycles/hash
Small key speed test - 16-byte keys - 248.95 cycles/hash
Small key speed test - 17-byte keys - 263.94 cycles/hash
Small key speed test - 18-byte keys - 278.20 cycles/hash
Small key speed test - 19-byte keys - 293.85 cycles/hash
Small key speed test - 20-byte keys - 308.96 cycles/hash
Small key speed test - 21-byte keys - 322.95 cycles/hash
Small key speed test - 22-byte keys - 337.89 cycles/hash
Small key speed test - 23-byte keys - 351.97 cycles/hash
Small key speed test - 24-byte keys - 367.87 cycles/hash
Small key speed test - 25-byte keys - 382.27 cycles/hash
Small key speed test - 26-byte keys - 396.91 cycles/hash
Small key speed test - 27-byte keys - 411.88 cycles/hash
Small key speed test - 28-byte keys - 427.00 cycles/hash
Small key speed test - 29-byte keys - 442.92 cycles/hash
Small key speed test - 30-byte keys - 455.97 cycles/hash
Small key speed test - 31-byte keys - 471.94 cycles/hash
Average 249.063 cycles/hash
Alignment 7 - 0.049 bytes/cycle - 141.42 MiB/sec @ 3 ghz
Alignment 6 - 0.049 bytes/cycle - 141.41 MiB/sec @ 3 ghz
Alignment 5 - 0.049 bytes/cycle - 141.42 MiB/sec @ 3 ghz
Alignment 4 - 0.049 bytes/cycle - 141.42 MiB/sec @ 3 ghz
Alignment 3 - 0.049 bytes/cycle - 141.42 MiB/sec @ 3 ghz
Alignment 2 - 0.049 bytes/cycle - 141.42 MiB/sec @ 3 ghz
Alignment 1 - 0.049 bytes/cycle - 141.42 MiB/sec @ 3 ghz
Alignment 0 - 0.049 bytes/cycle - 141.42 MiB/sec @ 3 ghz
Average - 0.049 bytes/cycle - 141.42 MiB/sec @ 3 ghz

Small key speed test - 1-byte keys - 33.00 cycles/hash
Small key speed test - 2-byte keys - 53.00 cycles/hash
Small key speed test - 3-byte keys - 73.00 cycles/hash
Small key speed test - 4-byte keys - 92.64 cycles/hash
Small key speed test - 5-byte keys - 113.00 cycles/hash
Small key speed test - 6-byte keys - 133.00 cycles/hash
Small key speed test - 7-byte keys - 153.00 cycles/hash
Small key speed test - 8-byte keys - 173.00 cycles/hash
Small key speed test - 9-byte keys - 193.60 cycles/hash
Small key speed test - 10-byte keys - 214.00 cycles/hash
Small key speed test - 11-byte keys - 233.25 cycles/hash
Small key speed test - 12-byte keys - 253.81 cycles/hash
Small key speed test - 13-byte keys - 274.11 cycles/hash
Small key speed test - 14-byte keys - 294.83 cycles/hash
Small key speed test - 15-byte keys - 314.19 cycles/hash
Small key speed test - 16-byte keys - 334.48 cycles/hash
Small key speed test - 17-byte keys - 355.33 cycles/hash
Small key speed test - 18-byte keys - 375.96 cycles/hash
Small key speed test - 19-byte keys - 394.92 cycles/hash
Small key speed test - 20-byte keys - 414.86 cycles/hash
Small key speed test - 21-byte keys - 436.00 cycles/hash
Small key speed test - 22-byte keys - 457.07 cycles/hash
Small key speed test - 23-byte keys - 476.12 cycles/hash
Small key speed test - 24-byte keys - 496.40 cycles/hash
Small key speed test - 25-byte keys - 517.00 cycles/hash
Small key speed test - 26-byte keys - 537.22 cycles/hash
Small key speed test - 27-byte keys - 556.99 cycles/hash
Small key speed test - 28-byte keys - 576.28 cycles/hash
Small key speed test - 29-byte keys - 597.57 cycles/hash
Small key speed test - 30-byte keys - 618.63 cycles/hash
Small key speed test - 31-byte keys - 637.65 cycles/hash
Average 334.965 cycles/hash

[[[ 'Hashmap' Speed Tests ]]]

Expand Down
84 changes: 42 additions & 42 deletions doc/prvhash42_32.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,48 +10,48 @@ Running AppendedZeroesTest .......... PASS
[[[ Speed Tests ]]]

Bulk speed test - 262144-byte keys
Alignment 7 - 0.240 bytes/cycle - 686.87 MiB/sec @ 3 ghz
Alignment 6 - 0.240 bytes/cycle - 686.66 MiB/sec @ 3 ghz
Alignment 5 - 0.240 bytes/cycle - 687.26 MiB/sec @ 3 ghz
Alignment 4 - 0.240 bytes/cycle - 686.63 MiB/sec @ 3 ghz
Alignment 3 - 0.240 bytes/cycle - 687.03 MiB/sec @ 3 ghz
Alignment 2 - 0.240 bytes/cycle - 687.43 MiB/sec @ 3 ghz
Alignment 1 - 0.240 bytes/cycle - 687.13 MiB/sec @ 3 ghz
Alignment 0 - 0.240 bytes/cycle - 687.61 MiB/sec @ 3 ghz
Average - 0.240 bytes/cycle - 687.08 MiB/sec @ 3 ghz

Small key speed test - 1-byte keys - 15.00 cycles/hash
Small key speed test - 2-byte keys - 19.00 cycles/hash
Small key speed test - 3-byte keys - 23.00 cycles/hash
Small key speed test - 4-byte keys - 26.93 cycles/hash
Small key speed test - 5-byte keys - 31.00 cycles/hash
Small key speed test - 6-byte keys - 35.82 cycles/hash
Small key speed test - 7-byte keys - 40.00 cycles/hash
Small key speed test - 8-byte keys - 43.95 cycles/hash
Small key speed test - 9-byte keys - 47.00 cycles/hash
Small key speed test - 10-byte keys - 51.96 cycles/hash
Small key speed test - 11-byte keys - 55.99 cycles/hash
Small key speed test - 12-byte keys - 59.96 cycles/hash
Small key speed test - 13-byte keys - 63.89 cycles/hash
Small key speed test - 14-byte keys - 67.92 cycles/hash
Small key speed test - 15-byte keys - 72.94 cycles/hash
Small key speed test - 16-byte keys - 76.90 cycles/hash
Small key speed test - 17-byte keys - 79.96 cycles/hash
Small key speed test - 18-byte keys - 84.97 cycles/hash
Small key speed test - 19-byte keys - 88.51 cycles/hash
Small key speed test - 20-byte keys - 92.89 cycles/hash
Small key speed test - 21-byte keys - 96.92 cycles/hash
Small key speed test - 22-byte keys - 100.99 cycles/hash
Small key speed test - 23-byte keys - 105.90 cycles/hash
Small key speed test - 24-byte keys - 109.83 cycles/hash
Small key speed test - 25-byte keys - 113.98 cycles/hash
Small key speed test - 26-byte keys - 117.95 cycles/hash
Small key speed test - 27-byte keys - 120.92 cycles/hash
Small key speed test - 28-byte keys - 125.99 cycles/hash
Small key speed test - 29-byte keys - 129.94 cycles/hash
Small key speed test - 30-byte keys - 135.07 cycles/hash
Small key speed test - 31-byte keys - 138.64 cycles/hash
Average 76.572 cycles/hash
Alignment 7 - 0.166 bytes/cycle - 475.30 MiB/sec @ 3 ghz
Alignment 6 - 0.166 bytes/cycle - 475.31 MiB/sec @ 3 ghz
Alignment 5 - 0.166 bytes/cycle - 475.31 MiB/sec @ 3 ghz
Alignment 4 - 0.166 bytes/cycle - 475.31 MiB/sec @ 3 ghz
Alignment 3 - 0.166 bytes/cycle - 475.31 MiB/sec @ 3 ghz
Alignment 2 - 0.166 bytes/cycle - 475.28 MiB/sec @ 3 ghz
Alignment 1 - 0.166 bytes/cycle - 475.30 MiB/sec @ 3 ghz
Alignment 0 - 0.166 bytes/cycle - 475.29 MiB/sec @ 3 ghz
Average - 0.166 bytes/cycle - 475.30 MiB/sec @ 3 ghz

Small key speed test - 1-byte keys - 18.00 cycles/hash
Small key speed test - 2-byte keys - 23.96 cycles/hash
Small key speed test - 3-byte keys - 29.71 cycles/hash
Small key speed test - 4-byte keys - 35.71 cycles/hash
Small key speed test - 5-byte keys - 42.00 cycles/hash
Small key speed test - 6-byte keys - 50.00 cycles/hash
Small key speed test - 7-byte keys - 54.63 cycles/hash
Small key speed test - 8-byte keys - 60.00 cycles/hash
Small key speed test - 9-byte keys - 65.97 cycles/hash
Small key speed test - 10-byte keys - 71.99 cycles/hash
Small key speed test - 11-byte keys - 78.11 cycles/hash
Small key speed test - 12-byte keys - 85.23 cycles/hash
Small key speed test - 13-byte keys - 91.90 cycles/hash
Small key speed test - 14-byte keys - 96.68 cycles/hash
Small key speed test - 15-byte keys - 101.99 cycles/hash
Small key speed test - 16-byte keys - 107.84 cycles/hash
Small key speed test - 17-byte keys - 113.97 cycles/hash
Small key speed test - 18-byte keys - 120.23 cycles/hash
Small key speed test - 19-byte keys - 127.66 cycles/hash
Small key speed test - 20-byte keys - 133.68 cycles/hash
Small key speed test - 21-byte keys - 138.58 cycles/hash
Small key speed test - 22-byte keys - 143.92 cycles/hash
Small key speed test - 23-byte keys - 149.85 cycles/hash
Small key speed test - 24-byte keys - 155.93 cycles/hash
Small key speed test - 25-byte keys - 162.77 cycles/hash
Small key speed test - 26-byte keys - 169.58 cycles/hash
Small key speed test - 27-byte keys - 175.13 cycles/hash
Small key speed test - 28-byte keys - 179.97 cycles/hash
Small key speed test - 29-byte keys - 186.00 cycles/hash
Small key speed test - 30-byte keys - 192.07 cycles/hash
Small key speed test - 31-byte keys - 198.46 cycles/hash
Average 108.436 cycles/hash

[[[ 'Hashmap' Speed Tests ]]]

Expand Down
Loading

0 comments on commit 01fb4d8

Please sign in to comment.