Last active
August 29, 2015 14:21
-
-
Save alphazero/1684fa102bb545ecb3f7 to your computer and use it in GitHub Desktop.
go test -bench results of distributing random % slotcnt + times
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XorShift* | |
453361 of 524288 slots with ideal cnt of 2 | |
ideal: 141655 (27.019%) | |
missed: 70927 (13.528%) | |
less: 142038 (27.092%) | |
more: 169668 (32.362%) | |
max hits: 12 | |
STD-LIB | |
452947 of 524288 slots with ideal cnt of 2 | |
ideal: 141284 (26.948%) | |
missed: 71341 (13.607%) | |
less: 141686 (27.024%) | |
more: 169977 (32.421%) | |
max hits: 11 | |
STD-LIB - thread-safe | |
452947 of 524288 slots with ideal cnt of 2 | |
ideal: 141284 (26.948%) | |
missed: 71341 (13.607%) | |
less: 141686 (27.024%) | |
more: 169977 (32.421%) | |
max hits: 11 | |
PASS | |
BenchmarkUint64 300000000 6.04 ns/op | |
BenchmarkStdlibUint64Threaded 50000000 33.8 ns/op | |
BenchmarkStdlibUint64 100000000 12.1 ns/op | |
ok kaveh/lib/prng 6.424s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment