Skip to content

Instantly share code, notes, and snippets.

@dgryski
Created February 7, 2017 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgryski/cff922f5ed8ff6c2b4907c38a1b2f8c0 to your computer and use it in GitHub Desktop.
Save dgryski/cff922f5ed8ff6c2b4907c38a1b2f8c0 to your computer and use it in GitHub Desktop.
BenchmarkKetama8-4 5000000 373 ns/op
BenchmarkKetama32-4 5000000 394 ns/op
BenchmarkKetama128-4 3000000 433 ns/op
BenchmarkKetama512-4 3000000 538 ns/op
BenchmarkKetama2048-4 2000000 672 ns/op
BenchmarkKetama8192-4 2000000 978 ns/op
BenchmarkChash8-4 10000000 129 ns/op
BenchmarkChash32-4 10000000 136 ns/op
BenchmarkChash128-4 10000000 220 ns/op
BenchmarkChash512-4 5000000 318 ns/op
BenchmarkChash2048-4 3000000 425 ns/op
BenchmarkChash8192-4 2000000 661 ns/op
BenchmarkMulti8-4 10000000 234 ns/op
BenchmarkMulti32-4 10000000 224 ns/op
BenchmarkMulti128-4 5000000 391 ns/op
BenchmarkMulti512-4 3000000 477 ns/op
BenchmarkMulti2048-4 3000000 548 ns/op
BenchmarkMulti8192-4 2000000 665 ns/op
BenchmarkJump8-4 20000000 80.3 ns/op
BenchmarkJump32-4 20000000 87.5 ns/op
BenchmarkJump128-4 20000000 100 ns/op
BenchmarkJump512-4 20000000 125 ns/op
BenchmarkJump2048-4 10000000 136 ns/op
BenchmarkJump8192-4 10000000 149 ns/op
BenchmarkMaglev8-4 30000000 43.0 ns/op
BenchmarkMaglev32-4 30000000 41.4 ns/op
BenchmarkMaglev128-4 30000000 47.9 ns/op
BenchmarkMaglev512-4 30000000 50.8 ns/op
BenchmarkRendezvous8-4 3000000 434 ns/op
BenchmarkRendezvous32-4 1000000 1418 ns/op
BenchmarkRendezvous128-4 300000 5295 ns/op
BenchmarkRendezvous512-4 100000 20274 ns/op
BenchmarkRendezvous2048-4 20000 81455 ns/op
BenchmarkRendezvous8192-4 5000 328383 ns/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment