Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# 0.13.2

- Added the `quality` command to `hash_benchmark_report.py`: it generates the SMHasher3 "Results" table in `mbo/hash/README.md` from a curated source (verify with `--check`, source measured verdict/score from a fresh run with `--smhasher <bundle>`).
- Fixed SMHasher3 result parsing so an invalid hash name or crash reads as `ERROR` instead of a false `PASS`, and the pass/fail score and failing families now parse from the run Summary; legacy/short SMHasher3 names are aliased to their registered form when a measured dataset is loaded.

# 0.13.1

- Switched the build-seed mangle constant header to per-build generation (no longer committed): removed `internal/hash_mangle_seed.h.in` and `hash_mangle_seed_default_test`, so a version bump no longer needs a committed regeneration. `hash_mangle.h` includes the generated header directly (missing is an `#error`; clangd falls back under `-DIS_CLANGD`).
Expand Down
26 changes: 16 additions & 10 deletions mbo/hash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,18 +428,24 @@ numbers are directly comparable.

### Results

<!-- BEGIN SMHasher3 results (generated by `hash_benchmark_report.py quality`; DO NOT EDIT) -->

| Algorithm | Bits | Role in mbo/hash | SMHasher3 result | Failures |
| ----------- | ---: | ------------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `dumbo` | 64 | `hash.h` (compact MUM) | PASS - 188 / 188 | none |
| `fnv1a` | 64 | `hash.h` | FAIL - 7 / 186 | nearly every family: Avalanche, BIC, Sparse, Cyclic, Permutation, Text, TwoBytes, Bitflip, PerlinNoise, and the complete Seed* cluster |
| `mumbo` | 64 | default (64/32/streaming) | PASS - 188 / 188 | none |
| `rapidhash` | 64 | extra (`hash_extra_cc`) | PASS - 188 / 188 | none |
| `siphash` | 64 | `hash.h` (keyed PRF) | PASS - 186 / 186 | none |
| `xxh3` | 64 | extra (`hash_extra_cc`) | FAIL - 166 / 188 | BIC [3, 8, 11], Sparse [20/3], PerlinNoise [2], Bitflip [8], SeedZeroes [1280, 8448], SeedSparse [2, 3] |
| `xxh64` | 64 | extra (`hash_extra_cc`) | FAIL - 181 / 188 | SeedBlockLen [15, 19, 21, 26, 29, 30], SeedBIC [8] |
| `jumbo` | 128 | default (128) | PASS - 188 / 188 | none |
| `murmur3` | 128 | `hash.h` | FAIL - 123 / 188 | BIC, Zeroes, Permutation, and the complete Seed* cluster (11 families) |
| `xxh3` | 128 | extra (`hash_extra_cc`) | FAIL - 162 / 188 | BIC [3, 8, 15], Sparse [20/3], PerlinNoise [2], Bitflip [3, 4, 8], SeedZeroes [1280, 8448], SeedSparse [2, 3], SeedBlockLen [8, 12-16], SeedBlockOffset [0-5], SeedBIC [3, 8] |
| `dumbo` | 64 | `hash.h` (compact MUM) | PASS | none |
| `fnv1a` | 64 | `hash.h` | 7/186 | nearly every family: Avalanche, BIC, Sparse, Cyclic, Permutation, Text, TwoBytes, Bitflip, PerlinNoise, and the complete Seed* cluster |
| `mumbo` | 64 | default (64/32/streaming) | PASS | none |
| `rapidhash` | 64 | extra (`hash_extra_cc`) | PASS | none |
| `siphash` | 64 | `hash.h` (keyed PRF) | PASS | none |
| `xxh3` | 64 | extra (`hash_extra_cc`) | 166/188 | BIC [3, 8, 11], Sparse [20/3], PerlinNoise [2], Bitflip [8], SeedZeroes [1280, 8448], SeedSparse [2, 3] |
| `xxh64` | 64 | extra (`hash_extra_cc`) | 181/188 | SeedBlockLen [15, 19, 21, 26, 29, 30], SeedBIC [8] |
| `jumbo` | 128 | default (128) | PASS | none |
| `murmur3` | 128 | `hash.h` | 123/188 | BIC, Zeroes, Permutation, and the complete Seed* cluster (11 families) |
| `xxh3` | 128 | extra (`hash_extra_cc`) | 162/188 | BIC [3, 8, 15], Sparse [20/3], PerlinNoise [2], Bitflip [3, 4, 8], SeedZeroes [1280, 8448], SeedSparse [2, 3], SeedBlockLen [8, 12-16], SeedBlockOffset [0-5], SeedBIC [3, 8] |

<!-- END SMHasher3 results -->

The `SMHasher3 result` column shows `PASS` when every test passes, otherwise the failing `passed/total` count (e.g. `7/186`).

Reading the results:

Expand Down
Loading
Loading