/hash-benchmarks

Hash algorithm benchmarks.

Primary LanguageGoMIT LicenseMIT

hash-benchmarks

Benchmarks including hash algorithms for non-cryptographic purposes.

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 if you'd like to make a pull request.

Sponsors

Cedric Fung Scott Rayapoullé Eduard Urbach
Cedric Fung Scott Rayapoullé Eduard Urbach

Want to see your own name here?