Created
September 1, 2013 20:26
-
-
Save CodeMonkeyKevin/6407086 to your computer and use it in GitHub Desktop.
GoLang UUID pkgs benchmark
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
// github.com/nu7hatch/gouuid | |
BenchmarkV4 1000000 1426 ns/op | |
BenchmarkV5 2000000 910 ns/op | |
// github.com/streadway/simpleuuid | |
BenchmarkV5 5000000 689 ns/op | |
// github.com/tux21b/gocql/tree/master/uuid | |
BenchmarkRandomUUID 1000000 1470 ns/op | |
// github.com/germ/go-bits/blob/master/puuid | |
BenchmarkGenerate 100000 15327 ns/op | |
// github.com/go-contrib/uuid | |
BenchmarkNewV1 50000000 68.8 ns/op | |
BenchmarkNewV2 50000000 70.6 ns/op | |
BenchmarkNewV3 2000000 815 ns/op | |
BenchmarkNewV4 1000000 1422 ns/op | |
BenchmarkNewV5 2000000 935 ns/op |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment