Skip to content

Added support for elastic.profiler_stack_trace_ids OTel attribute (#202) #35

Added support for elastic.profiler_stack_trace_ids OTel attribute (#202)

Added support for elastic.profiler_stack_trace_ids OTel attribute (#202) #35

GitHub Actions / benchdiff-result succeeded Feb 7, 2024 in 0s

Benchdiff Results

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

HEAD sha: 668fa48

Base sha: 668fa48

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 35253.6 51% 26778.8 1% ~ (p=0.841 n=5+5)
Encode/format=json-2 14089.6 1% 14077 1% ~ (p=1.000 n=5+5)
Encode/format=vtproto 6274 0% 6213.4 1% -0.97% (p=0.008 n=5+5)
Encode/format=vtproto-2 3635.4 7% 3335.25 0% -8.26% (p=0.016 n=5+4)
Decode/format=vtproto 22278 1% 22211.4 1% ~ (p=0.421 n=5+5)
Decode/format=vtproto-2 13429 3% 13649.8 10% ~ (p=1.000 n=5+5)
Decode/format=json 126822 2% 126405 1% ~ (p=1.000 n=5+5)
Decode/format=json-2 66281 1% 66527 4% ~ (p=1.000 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 3200 0% 3200 0% ~ (all equal)
Encode/format=vtproto-2 3200 0% 3200 0% ~ (all equal)
Decode/format=vtproto 12978 0% 12977.6 0% ~ (p=0.333 n=4+5)
Decode/format=vtproto-2 13018 0% 13017.4 0% ~ (p=0.365 n=5+5)
Decode/format=json 14504 0% 14504 0% ~ (all equal)
Decode/format=json-2 14504 0% 14504 0% ~ (all equal)
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 5 0% 5 0% ~ (all equal)
Encode/format=vtproto-2 5 0% 5 0% ~ (all equal)
Decode/format=vtproto 348 0% 348 0% ~ (all equal)
Decode/format=vtproto-2 348 0% 348 0% ~ (all equal)
Decode/format=json 397 0% 397 0% ~ (all equal)
Decode/format=json-2 397 0% 397 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.2 4% 288.72 4% ~ (p=0.095 n=5+5)
NDStreamDecoder-2 159.42 6% 165 2% ~ (p=0.151 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 13871 4% 15612 7% +12.55% (p=0.008 n=5+5)
APMEventToJSON/to-json-2 12402.2 0% 14286.6 1% +15.19% (p=0.016 n=4+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)