项目作者: akyoto

项目描述 :
Hash algorithm benchmarks.
高级语言: Go
项目地址: git://github.com/akyoto/hash-benchmarks.git
创建时间: 2019-05-28T00:47:37Z
项目社区:https://github.com/akyoto/hash-benchmarks

开源协议:MIT License

下载


hash-benchmarks

Benchmarks including hash algorithms for non-cryptographic purposes.

  1. BenchmarkAkyotoHash_4B-12 1000000000 0.702 ns/op 0 B/op 0 allocs/op
  2. BenchmarkCRC32_4B-12 748350471 1.59 ns/op 0 B/op 0 allocs/op
  3. BenchmarkXXHash_4B-12 533528487 2.22 ns/op 0 B/op 0 allocs/op
  4. BenchmarkSipHash_4B-12 833339200 1.43 ns/op 0 B/op 0 allocs/op
  5. BenchmarkFNV_4B-12 1000000000 0.703 ns/op 0 B/op 0 allocs/op
  6. BenchmarkAkyotoHash_8B-12 1000000000 0.469 ns/op 0 B/op 0 allocs/op
  7. BenchmarkCRC32_8B-12 547803841 2.17 ns/op 0 B/op 0 allocs/op
  8. BenchmarkXXHash_8B-12 516036067 2.24 ns/op 0 B/op 0 allocs/op
  9. BenchmarkSipHash_8B-12 682836061 1.74 ns/op 0 B/op 0 allocs/op
  10. BenchmarkFNV_8B-12 1000000000 1.01 ns/op 0 B/op 0 allocs/op
  11. BenchmarkAkyotoHash_10KB-12 30067696 37.0 ns/op 0 B/op 0 allocs/op
  12. BenchmarkCRC32_10KB-12 22916304 50.3 ns/op 0 B/op 0 allocs/op
  13. BenchmarkXXHash_10KB-12 11700764 101 ns/op 0 B/op 0 allocs/op
  14. BenchmarkSipHash_10KB-12 2815754 423 ns/op 0 B/op 0 allocs/op
  15. 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?