Skip to content

Instantly share code, notes, and snippets.

@dannykopping
Created October 3, 2022 06:48
Show Gist options
  • Save dannykopping/0704db32c0b08751d1d2494efaa734c2 to your computer and use it in GitHub Desktop.
Save dannykopping/0704db32c0b08751d1d2494efaa734c2 to your computer and use it in GitHub Desktop.
goos: linux
goarch: amd64
pkg: github.com/go-kit/log
cpu: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
BenchmarkLineBuffered/capacity:1-8 718952 1572 ns/op 96 B/op 2 allocs/op
BenchmarkLineBuffered/capacity:2-8 1044774 1228 ns/op 96 B/op 2 allocs/op
BenchmarkLineBuffered/capacity:4-8 1401778 867.3 ns/op 96 B/op 2 allocs/op
BenchmarkLineBuffered/capacity:8-8 1666798 699.2 ns/op 96 B/op 2 allocs/op
BenchmarkLineBuffered/capacity:16-8 1856240 614.9 ns/op 96 B/op 2 allocs/op
BenchmarkLineBuffered/capacity:32-8 2029083 561.8 ns/op 96 B/op 2 allocs/op
BenchmarkLineBuffered/capacity:64-8 1949738 533.0 ns/op 96 B/op 2 allocs/op
BenchmarkLineBuffered/capacity:128-8 2272872 561.0 ns/op 96 B/op 2 allocs/op
BenchmarkLineBuffered/capacity:256-8 2118660 528.8 ns/op 96 B/op 2 allocs/op
BenchmarkLineBuffered/capacity:512-8 2360433 557.3 ns/op 96 B/op 2 allocs/op
BenchmarkLineBuffered/capacity:1024-8 2186982 524.8 ns/op 96 B/op 2 allocs/op
BenchmarkLineBuffered/capacity:2048-8 2127262 499.4 ns/op 96 B/op 2 allocs/op
BenchmarkLineUnbuffered-8 725086 1588 ns/op 96 B/op 2 allocs/op
PASS
ok github.com/go-kit/log 24.441s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment