Created
November 14, 2017 19:04
-
-
Save prashantv/babbdbd9e41b0b04ad29a510be513d79 to your computer and use it in GitHub Desktop.
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
> go test -bench . -benchmem | |
goos: darwin | |
goarch: amd64 | |
pkg: go.uber.org/atomic | |
BenchmarkStress/u64/serial-8 30000000 41.7 ns/op 0 B/op 0 allocs/op | |
BenchmarkStress/u64/parallel-8 10000000 169 ns/op 0 B/op 0 allocs/op | |
BenchmarkStress/f64/serial-8 30000000 45.9 ns/op 0 B/op 0 allocs/op | |
BenchmarkStress/f64/parallel-8 5000000 362 ns/op 0 B/op 0 allocs/op | |
BenchmarkStress/bool/serial-8 50000000 38.4 ns/op 0 B/op 0 allocs/op | |
BenchmarkStress/bool/parallel-8 10000000 157 ns/op 0 B/op 0 allocs/op | |
BenchmarkStress/string/serial-8 20000000 100 ns/op 32 B/op 2 allocs/op | |
BenchmarkStress/string/parallel-8 20000000 98.9 ns/op 32 B/op 2 allocs/op | |
BenchmarkStress/i32/serial-8 30000000 42.1 ns/op 0 B/op 0 allocs/op | |
BenchmarkStress/i32/parallel-8 10000000 165 ns/op 0 B/op 0 allocs/op | |
BenchmarkStress/i64/serial-8 30000000 41.9 ns/op 0 B/op 0 allocs/op | |
BenchmarkStress/i64/parallel-8 10000000 175 ns/op 0 B/op 0 allocs/op | |
BenchmarkStress/u32/serial-8 30000000 41.2 ns/op 0 B/op 0 allocs/op | |
BenchmarkStress/u32/parallel-8 10000000 150 ns/op 0 B/op 0 allocs/op | |
PASS | |
ok go.uber.org/atomic 24.067s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment