# rurban/smhasher

Hash function quality and speed tests

Repository: https://github.com/rurban/smhasher
Canonical: https://ross.abutalabs.com/products/rurban-smhasher
Homepage: https://rurban.github.io/smhasher/
Language: C++
License: NOASSERTION
License Family: other
Topics: hash-functions, c-plus-plus, test, c
Last push: 2026-07-04T10:17:41+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 35, longevity 100
- inputs: {"age_days": 4542, "days_push": 60, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2169, forks 189 (observed 2026-08-28T04:06:21.639936+00:00)

## What it is
SMhasher is a test suite for evaluating the quality and speed of non-cryptographic and cryptographic hash functions. It benchmarks throughput and runs statistical quality tests, publishing comparative results for dozens of hash implementations.

## Use cases
- benchmark hash function speed in MiB/sec
- test a custom hash function for quality problems
- compare hash functions for hash table use
- check a hash function for collisions and distribution issues
- find the fastest 64-bit hash for my use case
- verify hash function seed independence

## When to choose
- you need to validate or benchmark a hash function implementation
- you want authoritative comparative data on hash function quality and speed
- you are selecting a hash function for hash tables or checksums

## When to avoid
- you need a hash function library to embed rather than a testing tool
- you need cryptographic security certification rather than statistical testing
- you need application-level hashing utilities

## Facets
- artifact type: cli-tool
- maturity: active
- function: benchmarking, testing, developer-tools
- domain: performance, developer-tools
- platform: windows, cross-platform, cli, cpp, c
- tags: hash-functions, hash-quality-testing, smhasher, c-plus-plus, benchmark-suite, algorithms, linux, macos

## Member repositories
- rurban/smhasher (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:21.639936+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:49:28.065007+00:00, confidence not recorded.
  - readme: https://github.com/rurban/smhasher (fetched 2026-08-28T04:06:21.639936+00:00, sha 26a09bcb98dc)
  - homepage: https://rurban.github.io/smhasher/ (fetched 2026-08-29T10:29:31.919685+00:00, sha 12df115b97d6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
