Skip to content

Instantly share code, notes, and snippets.

@arriqaaq
Last active September 28, 2018 15:38
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 arriqaaq/4e0e04256cc2ca808a1013bcb37b169c to your computer and use it in GitHub Desktop.
Save arriqaaq/4e0e04256cc2ca808a1013bcb37b169c to your computer and use it in GitHub Desktop.
Bloom:
BenchmarkCuckooInsert-4 3000000 433 ns/op
Alloc = 207 MiB TotalAlloc = 526 MiB Sys = 240 MiB NumGC = 16
BenchmarkCuckooLookup-4 5000000 371 ns/op
Alloc = 336 MiB TotalAlloc = 788 MiB Sys = 429 MiB NumGC = 24
Cuckoo:
BenchmarkCuckooInsert-4 2000000 1106 ns/op
Alloc = 336 MiB TotalAlloc = 718 MiB Sys = 362 MiB NumGC = 29
BenchmarkCuckooLookup-4 2000000 806 ns/op
Alloc = 216 MiB TotalAlloc = 549 MiB Sys = 281 MiB NumGC = 27
BenchmarkCuckooLookupAndDelete-4 2000000 906 ns/op
Alloc = 278 MiB TotalAlloc = 894 MiB Sys = 303 MiB NumGC = 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment