https://github.com/akyoto/hash-benchmarks
Hash algorithm benchmarks.
https://github.com/akyoto/hash-benchmarks
benchmarks go hash hash-algorithm
Last synced: 7 months ago
JSON representation
Hash algorithm benchmarks.
- Host: GitHub
- URL: https://github.com/akyoto/hash-benchmarks
- Owner: akyoto
- License: mit
- Created: 2019-05-28T00:47:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-26T04:19:45.000Z (about 6 years ago)
- Last Synced: 2025-04-12T22:39:44.666Z (7 months ago)
- Topics: benchmarks, go, hash, hash-algorithm
- Language: Go
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hash-benchmarks
Benchmarks including hash algorithms for non-cryptographic purposes.
```text
BenchmarkAkyotoHash_4B-12 1000000000 0.702 ns/op 0 B/op 0 allocs/op
BenchmarkCRC32_4B-12 748350471 1.59 ns/op 0 B/op 0 allocs/op
BenchmarkXXHash_4B-12 533528487 2.22 ns/op 0 B/op 0 allocs/op
BenchmarkSipHash_4B-12 833339200 1.43 ns/op 0 B/op 0 allocs/op
BenchmarkFNV_4B-12 1000000000 0.703 ns/op 0 B/op 0 allocs/op
BenchmarkAkyotoHash_8B-12 1000000000 0.469 ns/op 0 B/op 0 allocs/op
BenchmarkCRC32_8B-12 547803841 2.17 ns/op 0 B/op 0 allocs/op
BenchmarkXXHash_8B-12 516036067 2.24 ns/op 0 B/op 0 allocs/op
BenchmarkSipHash_8B-12 682836061 1.74 ns/op 0 B/op 0 allocs/op
BenchmarkFNV_8B-12 1000000000 1.01 ns/op 0 B/op 0 allocs/op
BenchmarkAkyotoHash_10KB-12 30067696 37.0 ns/op 0 B/op 0 allocs/op
BenchmarkCRC32_10KB-12 22916304 50.3 ns/op 0 B/op 0 allocs/op
BenchmarkXXHash_10KB-12 11700764 101 ns/op 0 B/op 0 allocs/op
BenchmarkSipHash_10KB-12 2815754 423 ns/op 0 B/op 0 allocs/op
BenchmarkFNV_10KB-12 1534830 781 ns/op 0 B/op 0 allocs/op
```
## Style
Please take a look at the [style guidelines](https://github.com/akyoto/quality/blob/master/STYLE.md) if you'd like to make a pull request.
## Sponsors
| [](https://github.com/cedricfung) | [](https://github.com/soulcramer) | [](https://twitter.com/eduardurbach) |
| --- | --- | --- |
| [Cedric Fung](https://github.com/cedricfung) | [Scott Rayapoullé](https://github.com/soulcramer) | [Eduard Urbach](https://eduardurbach.com) |
Want to see [your own name here?](https://github.com/users/akyoto/sponsorship)
[godoc-image]: https://godoc.org/github.com/akyoto/hash-benchmarks?status.svg
[godoc-url]: https://godoc.org/github.com/akyoto/hash-benchmarks
[report-image]: https://goreportcard.com/badge/github.com/akyoto/hash-benchmarks
[report-url]: https://goreportcard.com/report/github.com/akyoto/hash-benchmarks
[tests-image]: https://cloud.drone.io/api/badges/akyoto/hash-benchmarks/status.svg
[tests-url]: https://cloud.drone.io/akyoto/hash-benchmarks
[coverage-image]: https://codecov.io/gh/akyoto/hash-benchmarks/graph/badge.svg
[coverage-url]: https://codecov.io/gh/akyoto/hash-benchmarks
[sponsor-image]: https://img.shields.io/badge/github-donate-green.svg
[sponsor-url]: https://github.com/users/akyoto/sponsorship