Skip to content

Instantly share code, notes, and snippets.

@Dieterbe
Created November 25, 2019 18:31
Show Gist options
  • Save Dieterbe/c95f5db25410e219ee34e70ee8037397 to your computer and use it in GitHub Desktop.
Save Dieterbe/c95f5db25410e219ee34e70ee8037397 to your computer and use it in GitHub Desktop.
$ go test -count=10 -run='^$' -bench=. -benchtime=100ms ./...
goos: linux
goarch: amd64
pkg: github.com/grafana/metrictank/api
BenchmarkFix1M-8 16 9189930 ns/op 1305.78 MB/s
BenchmarkFix1M-8 14 8155018 ns/op 1471.49 MB/s
BenchmarkFix1M-8 13 12086950 ns/op 992.81 MB/s
BenchmarkFix1M-8 13 9010493 ns/op 1331.78 MB/s
BenchmarkFix1M-8 16 10516333 ns/op 1141.08 MB/s
BenchmarkFix1M-8 16 9929228 ns/op 1208.55 MB/s
BenchmarkFix1M-8 12 8665808 ns/op 1384.75 MB/s
BenchmarkFix1M-8 18 9032655 ns/op 1328.51 MB/s
BenchmarkFix1M-8 22 5778619 ns/op 2076.62 MB/s
BenchmarkFix1M-8 19 5272806 ns/op 2275.83 MB/s
BenchmarkDivide1M-8 25 4632868 ns/op 2590.19 MB/s
BenchmarkDivide1M-8 25 4559916 ns/op 2631.63 MB/s
BenchmarkDivide1M-8 25 4583779 ns/op 2617.93 MB/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment