Skip to content

Remap OTel hostmetrics to Elastic metrics #64

Remap OTel hostmetrics to Elastic metrics

Remap OTel hostmetrics to Elastic metrics #64

GitHub Actions / benchdiff-result succeeded May 9, 2024 in 0s

Benchdiff Results

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

HEAD sha: 9164551

Base sha: 9bbda71

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 26797.2 1% 26634.2 1% ~ (p=0.556 n=4+5)
Encode/format=json-2 14109.8 2% 14041 2% ~ (p=0.730 n=5+4)
Encode/format=vtproto 4774.4 14% 4636.2 0% ~ (p=0.690 n=5+5)
Encode/format=vtproto-2 2560.6 0% 2585.6 1% ~ (p=0.063 n=5+5)
Decode/format=json 126258 1% 127060 3% ~ (p=0.690 n=5+5)
Decode/format=json-2 64265.2 2% 65578.8 2% ~ (p=0.056 n=5+5)
Decode/format=vtproto 19936.4 1% 19698.8 1% ~ (p=0.056 n=5+5)
Decode/format=vtproto-2 11974 3% 12008.4 2% ~ (p=0.690 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% 7753 0% ~ (all equal)
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 13014 0% 13014 0% ~ (p=1.000 n=4+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 280.56 3% 280.44 4% ~ (p=1.000 n=5+5)
NDStreamDecoder-2 167.32 8% 160.16 7% ~ (p=0.421 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 13797 5% 14880.8 5% +7.86% (p=0.032 n=5+5)
APMEventToJSON/to-json-2 12353 2% 13330.6 1% +7.91% (p=0.008 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)