Skip to content

Instantly share code, notes, and snippets.

@aknuds1
Created March 7, 2024 13:04
Show Gist options
  • Save aknuds1/f7ca45a485980f37cd560b8407471ff8 to your computer and use it in GitHub Desktop.
Save aknuds1/f7ca45a485980f37cd560b8407471ff8 to your computer and use it in GitHub Desktop.
Benchmark statistics OTLPHandler
goos: linux
goarch: amd64
pkg: github.com/grafana/mimir/pkg/distributor
cpu: AMD Ryzen 9 3950X 16-Core Processor
│ main-otlphandler.txt │ optimize-otlp-otlphandler.txt │
│ sec/op │ sec/op vs base │
OTLPHandler/protobuf-32 866.0µ ± 2% 770.4µ ± 2% -11.04% (p=0.002 n=6)
OTLPHandler/JSON-32 1.275m ± 1% 1.183m ± 1% -7.21% (p=0.002 n=6)
geomean 1.051m 954.6µ -9.15%
│ main-otlphandler.txt │ optimize-otlp-otlphandler.txt │
│ B/op │ B/op vs base │
OTLPHandler/protobuf-32 394.9Ki ± 0% 371.0Ki ± 0% -6.06% (p=0.002 n=6)
OTLPHandler/JSON-32 442.0Ki ± 0% 418.3Ki ± 0% -5.36% (p=0.002 n=6)
geomean 417.8Ki 393.9Ki -5.71%
│ main-otlphandler.txt │ optimize-otlp-otlphandler.txt │
│ allocs/op │ allocs/op vs base │
OTLPHandler/protobuf-32 6.133k ± 0% 5.131k ± 0% -16.34% (p=0.002 n=6)
OTLPHandler/JSON-32 9.167k ± 0% 8.164k ± 0% -10.94% (p=0.002 n=6)
geomean 7.498k 6.472k -13.68%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment