Skip to content

Commit

Permalink
Update komihash to 5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
rurban committed Jan 11, 2024
1 parent 7db446a commit d1d1ab6
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 50 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ SMhasher
| [nmhash32x](doc/nmhash32x.txt) | 12775.08 | 42.66 | 246.05 (3) |1494 | |
| [k-hashv32](doc/k-hashv32.txt) | 9181.87 | 52.76 | 245.14 (3) |1280 | |
| [k-hashv64](doc/k-hashv32.txt) | 7850.92 | 46.94 | 193.94 (1) |1279 | |
| [komihash](doc/komihash.txt) | 12191.22 | 33.19 | 230.67 (3) |1323 | |
| [komihash](doc/komihash.txt) | 12242.78 | 33.02 | 236.07 (2) |1323 | |
| [polymur](doc/polymur.txt) | 9676.33 | 42.70 | 246.53 (3) |1128 | |

The sortable table variants:
Expand Down
6 changes: 3 additions & 3 deletions doc/i686.html
Original file line number Diff line number Diff line change
Expand Up @@ -1505,9 +1505,9 @@ <h1 id="smhasher">SMhasher</h1>
</tr>
<tr class="good">
<td align="left"><a href="komihash.txt">komihash</a></td>
<td align="right">1955.55</td>
<td align="right">129.29</td>
<td align="right">272.83 (7)</td>
<td align="right">2208.60</td>
<td align="right">134.35</td>
<td align="right">268.71 (6)</td>
<td align="right">2799</td>
<td align="left"></td>
</tr>
Expand Down
80 changes: 39 additions & 41 deletions doc/komihash.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 - 4.248 bytes/cycle - 12154.39 MiB/sec @ 3 ghz
Alignment 6 - 4.262 bytes/cycle - 12192.90 MiB/sec @ 3 ghz
Alignment 5 - 4.261 bytes/cycle - 12192.22 MiB/sec @ 3 ghz
Alignment 4 - 4.262 bytes/cycle - 12192.96 MiB/sec @ 3 ghz
Alignment 3 - 4.256 bytes/cycle - 12175.16 MiB/sec @ 3 ghz
Alignment 2 - 4.261 bytes/cycle - 12191.88 MiB/sec @ 3 ghz
Alignment 1 - 4.261 bytes/cycle - 12191.79 MiB/sec @ 3 ghz
Alignment 0 - 4.278 bytes/cycle - 12238.43 MiB/sec @ 3 ghz
Average - 4.261 bytes/cycle - 12191.22 MiB/sec @ 3 ghz

Small key speed test - 1-byte keys - 29.00 cycles/hash
Small key speed test - 2-byte keys - 29.00 cycles/hash
Small key speed test - 3-byte keys - 30.79 cycles/hash
Small key speed test - 4-byte keys - 30.95 cycles/hash
Small key speed test - 5-byte keys - 30.31 cycles/hash
Small key speed test - 6-byte keys - 30.87 cycles/hash
Small key speed test - 7-byte keys - 30.91 cycles/hash
Small key speed test - 8-byte keys - 33.00 cycles/hash
Alignment 7 - 4.295 bytes/cycle - 12287.16 MiB/sec @ 3 ghz
Alignment 6 - 4.277 bytes/cycle - 12235.78 MiB/sec @ 3 ghz
Alignment 5 - 4.275 bytes/cycle - 12231.72 MiB/sec @ 3 ghz
Alignment 4 - 4.274 bytes/cycle - 12229.38 MiB/sec @ 3 ghz
Alignment 3 - 4.276 bytes/cycle - 12234.28 MiB/sec @ 3 ghz
Alignment 2 - 4.276 bytes/cycle - 12234.77 MiB/sec @ 3 ghz
Alignment 1 - 4.272 bytes/cycle - 12222.20 MiB/sec @ 3 ghz
Alignment 0 - 4.288 bytes/cycle - 12266.96 MiB/sec @ 3 ghz
Average - 4.279 bytes/cycle - 12242.78 MiB/sec @ 3 ghz

Small key speed test - 1-byte keys - 28.56 cycles/hash
Small key speed test - 2-byte keys - 28.77 cycles/hash
Small key speed test - 3-byte keys - 30.19 cycles/hash
Small key speed test - 4-byte keys - 30.16 cycles/hash
Small key speed test - 5-byte keys - 30.00 cycles/hash
Small key speed test - 6-byte keys - 30.18 cycles/hash
Small key speed test - 7-byte keys - 30.00 cycles/hash
Small key speed test - 8-byte keys - 33.14 cycles/hash
Small key speed test - 9-byte keys - 33.00 cycles/hash
Small key speed test - 10-byte keys - 33.00 cycles/hash
Small key speed test - 11-byte keys - 33.00 cycles/hash
Small key speed test - 12-byte keys - 31.00 cycles/hash
Small key speed test - 13-byte keys - 31.00 cycles/hash
Small key speed test - 14-byte keys - 31.00 cycles/hash
Small key speed test - 15-byte keys - 31.00 cycles/hash
Small key speed test - 16-byte keys - 35.00 cycles/hash
Small key speed test - 17-byte keys - 35.00 cycles/hash
Small key speed test - 18-byte keys - 35.00 cycles/hash
Small key speed test - 19-byte keys - 35.00 cycles/hash
Small key speed test - 20-byte keys - 35.00 cycles/hash
Small key speed test - 21-byte keys - 35.00 cycles/hash
Small key speed test - 22-byte keys - 35.00 cycles/hash
Small key speed test - 23-byte keys - 35.00 cycles/hash
Small key speed test - 24-byte keys - 35.00 cycles/hash
Small key speed test - 25-byte keys - 35.29 cycles/hash
Small key speed test - 26-byte keys - 35.34 cycles/hash
Small key speed test - 27-byte keys - 35.29 cycles/hash
Small key speed test - 28-byte keys - 35.00 cycles/hash
Small key speed test - 29-byte keys - 35.27 cycles/hash
Small key speed test - 30-byte keys - 35.00 cycles/hash
Small key speed test - 31-byte keys - 35.00 cycles/hash
Average 33.194 cycles/hash
Small key speed test - 12-byte keys - 30.87 cycles/hash
Small key speed test - 13-byte keys - 30.52 cycles/hash
Small key speed test - 14-byte keys - 30.00 cycles/hash
Small key speed test - 15-byte keys - 30.31 cycles/hash
Small key speed test - 16-byte keys - 34.99 cycles/hash
Small key speed test - 17-byte keys - 34.98 cycles/hash
Small key speed test - 18-byte keys - 34.97 cycles/hash
Small key speed test - 19-byte keys - 34.98 cycles/hash
Small key speed test - 20-byte keys - 34.97 cycles/hash
Small key speed test - 21-byte keys - 34.91 cycles/hash
Small key speed test - 22-byte keys - 34.96 cycles/hash
Small key speed test - 23-byte keys - 34.95 cycles/hash
Small key speed test - 24-byte keys - 34.99 cycles/hash
Small key speed test - 25-byte keys - 34.99 cycles/hash
Small key speed test - 26-byte keys - 34.99 cycles/hash
Small key speed test - 27-byte keys - 34.99 cycles/hash
Small key speed test - 28-byte keys - 34.99 cycles/hash
Small key speed test - 29-byte keys - 35.80 cycles/hash
Small key speed test - 30-byte keys - 35.75 cycles/hash
Small key speed test - 31-byte keys - 35.80 cycles/hash
Average 33.023 cycles/hash

[[[ 'Hashmap' Speed Tests ]]]

Expand Down Expand Up @@ -1143,5 +1143,3 @@ Testing the first 0xffffffff seeds ...
4 threads starting...
at 0 at 40000000 at 80000000 at c0000000 c1ffffff 41ffffff 1ffffff 81ffffff 3ffffff 43ffffff c3ffffff 83ffffff 45ffffff c5ffffff 5ffffff 85ffffff 47ffffff c7ffffff 7ffffff 87ffffff 49ffffff c9ffffff 9ffffff 89ffffff 4bffffff cbffffff bffffff 8bffffff 4dffffff cdffffff dffffff 8dffffff cfffffff 4fffffff fffffff 8fffffff d1ffffff 51ffffff 11ffffff 91ffffff d3ffffff 53ffffff 13ffffff 93ffffff d5ffffff 55ffffff 15ffffff 95ffffff d7ffffff 57ffffff 17ffffff 97ffffff d9ffffff 59ffffff 99ffffff 19ffffff dbffffff 5bffffff 9bffffff 1bffffff ddffffff 5dffffff 9dffffff 1dffffff dfffffff 5fffffff 9fffffff 1fffffff e1ffffff 61ffffff a1ffffff 21ffffff e3ffffff 63ffffff a3ffffff 23ffffff e5ffffff 65ffffff a5ffffff 25ffffff e7ffffff 67ffffff a7ffffff 27ffffff e9ffffff 69ffffff a9ffffff 29ffffff ebffffff 6bffffff abffffff 2bffffff edffffff 6dffffff adffffff 2dffffff efffffff 6fffffff afffffff 2fffffff f1ffffff 71ffffff b1ffffff 31ffffff f3ffffff 73ffffff 33ffffff b3ffffff f5ffffff 75ffffff b5ffffff 35ffffff f7ffffff 77ffffff b7ffffff 37ffffff f9ffffff 79ffffff b9ffffff 39ffffff 7bffffff fbffffff bbffffff 3bffffff fdffffff 7dffffff bdffffff 3dffffff ffffffff 7fffffff bfffffff 3fffffff All 4 threads ended
PASS


6 changes: 3 additions & 3 deletions doc/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -1729,9 +1729,9 @@ <h1 id="smhasher">SMhasher</h1>
</tr>
<tr class="good">
<td align="left"><a href="komihash.txt">komihash</a></td>
<td align="right">12191.22</td>
<td align="right">33.19</td>
<td align="right">230.67 (3)</td>
<td align="right">12242.78</td>
<td align="right">33.02</td>
<td align="right">236.07 (2)</td>
<td align="right">1323</td>
<td align="left"></td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion komihash
Submodule komihash updated 4 files
+286 −269 README.md
+ hash_comparison.png
+288 −205 komihash.h
+13 −12 testvec.c
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ HashInfo g_hashes[] =
{ khashv32_test, 32, KHASHV32_VERIF, "k-hashv32", "Vectorized K-HashV, 32-bit", GOOD, {}},
{ khashv64_test, 64, KHASHV64_VERIF, "k-hashv64", "Vectorized K-HashV, 64-bit", GOOD, {}},
#endif
{ komihash_test, 64, 0x8157FF6D, "komihash", "komihash 5.7", GOOD, {} },
{ komihash_test, 64, 0x8157FF6D, "komihash", "komihash 5.10", GOOD, {} },
{ polymur_test, 64, 0x4F894810, "polymur", "github.com/orlp/polymur-hash v1", GOOD, {} },
};

Expand Down

0 comments on commit d1d1ab6

Please sign in to comment.