Skip to content

Enable k8s otel metrics remapping to elastic metrics #1137

Enable k8s otel metrics remapping to elastic metrics

Enable k8s otel metrics remapping to elastic metrics #1137

GitHub Actions / benchdiff-result succeeded Jun 18, 2024 in 0s

Benchdiff Results

Benchmark Command: go test ./... -run ^ -bench . -count 5 -benchtime 100ms -cpu 1,2 -benchmem

HEAD sha: 2dcaa4c

Base sha: 54c4edf

Degraded: false

Details

pkg: github.com/elastic/apm-data/codec
goos: linux
goarch: amd64

name old time/op (ns/op) ± new time/op (ns/op) ± delta ±
Encode/format=json 26242 1% 26556.4 2% ~ (p=0.222 n=5+5)
Encode/format=json-2 13905.4 1% 14025.8 3% ~ (p=0.421 n=5+5)
Encode/format=vtproto 4673 2% 5184 8% +10.94% (p=0.008 n=5+5)
Encode/format=vtproto-2 2579.75 0% 2886.8 22% +11.90% (p=0.016 n=4+5)
Decode/format=json 126269 1% 127851 4% ~ (p=0.310 n=5+5)
Decode/format=json-2 66308.2 3% 72455 11% ~ (p=0.548 n=5+5)
Decode/format=vtproto 19895.8 1% 20730.6 1% +4.20% (p=0.008 n=5+5)
Decode/format=vtproto-2 12290.8 6% 12702.6 4% ~ (p=0.222 n=5+5)
name old bytes/op (bytes/op) ± new bytes/op (bytes/op) ± delta ±
Encode/format=json 6564 0% 6564 0% ~ (all equal)
Encode/format=json-2 6564 0% 6564 0% ~ (all equal)
Encode/format=vtproto 2775 0% 2775 0% ~ (all equal)
Encode/format=vtproto-2 2775 0% 2775 0% ~ (all equal)
name old alloc/op (B/op) ± new alloc/op (B/op) ± delta ±
Encode/format=json 7752 0% 7752 0% ~ (all equal)
Encode/format=json-2 7753 0% 7754.2 0% ~ (p=0.238 n=4+5)
Encode/format=vtproto 3072 0% 3072 0% ~ (all equal)
Encode/format=vtproto-2 3072 0% 3072 0% ~ (all equal)
Decode/format=json 14504 0% 14504 0% ~ (all equal)
Decode/format=json-2 14504 0% 14504 0% ~ (all equal)
Decode/format=vtproto 12976 0% 12976 0% ~ (all equal)
Decode/format=vtproto-2 13012.8 0% 13011.8 0% ~ (p=0.238 n=5+5)
name old allocs/op (allocs/op) ± new allocs/op (allocs/op) ± delta ±
Encode/format=json 30 0% 30 0% ~ (all equal)
Encode/format=json-2 30 0% 30 0% ~ (all equal)
Encode/format=vtproto 1 0% 1 0% ~ (all equal)
Encode/format=vtproto-2 1 0% 1 0% ~ (all equal)
Decode/format=json 397 0% 397 0% ~ (all equal)
Decode/format=json-2 397 0% 397 0% ~ (all equal)
Decode/format=vtproto 348 0% 348 0% ~ (all equal)
Decode/format=vtproto-2 348 0% 348 0% ~ (all equal)

pkg: github.com/elastic/apm-data/input/elasticapm/internal/decoder
goos: linux
goarch: amd64

name old time/op (ns/op) ± new time/op (ns/op) ± delta ±
NDStreamDecoder 275.72 4% 276.78 2% ~ (p=0.841 n=5+5)
NDStreamDecoder-2 157.2 5% 157.72 2% ~ (p=0.841 n=5+5)
name old alloc/op (B/op) ± new alloc/op (B/op) ± delta ±
NDStreamDecoder 72 0% 72 0% ~ (all equal)
NDStreamDecoder-2 72 0% 72 0% ~ (all equal)
name old allocs/op (allocs/op) ± new allocs/op (allocs/op) ± delta ±
NDStreamDecoder 4 0% 4 0% ~ (all equal)
NDStreamDecoder-2 4 0% 4 0% ~ (all equal)

pkg: github.com/elastic/apm-data/model/modeljson
goos: linux
goarch: amd64

name old time/op (ns/op) ± new time/op (ns/op) ± delta ±
APMEventToJSON/to-json 15249.4 2% 14557.4 4% ~ (p=0.056 n=5+5)
APMEventToJSON/to-json-2 13195.6 7% 12627.2 1% ~ (p=0.056 n=5+5)
name old alloc/op (B/op) ± new alloc/op (B/op) ± delta ±
APMEventToJSON/to-json 2472 0% 2472 0% ~ (all equal)
APMEventToJSON/to-json-2 2472 0% 2472 0% ~ (all equal)
name old allocs/op (allocs/op) ± new allocs/op (allocs/op) ± delta ±
APMEventToJSON/to-json 37 0% 37 0% ~ (all equal)
APMEventToJSON/to-json-2 37 0% 37 0% ~ (all equal)