Skip to content

Added support for elastic.profiler_stack_trace_ids OTel attribute #24

Added support for elastic.profiler_stack_trace_ids OTel attribute

Added support for elastic.profiler_stack_trace_ids OTel attribute #24

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

Benchdiff Results

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

HEAD sha: efc27d9

Base sha: 31c8fb2

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=vtproto 12879.6 4% 6642.2 1% -48.43% (p=0.008 n=5+5)
Encode/format=vtproto-2 14200.8 7% 3748.4 10% -73.60% (p=0.008 n=5+5)
Encode/format=json 29681 1% 29837.4 10% ~ (p=0.286 n=4+5)
Encode/format=json-2 18086.6 38% 15033.8 1% ~ (p=0.286 n=5+4)
Decode/format=json 140411 4% 139609 2% ~ (p=0.421 n=5+5)
Decode/format=json-2 73130.6 6% 74510.2 7% ~ (p=0.310 n=5+5)
Decode/format=vtproto 23156 0% 23056.6 1% ~ (p=0.690 n=5+5)
Decode/format=vtproto-2 14606.2 9% 13644.8 2% -6.58% (p=0.008 n=5+5)
name old bytes/op (bytes/op) ± new bytes/op (bytes/op) ± delta ±
Encode/format=vtproto 2775 0% 2775 0% ~ (all equal)
Encode/format=vtproto-2 2775 0% 2775 0% ~ (all equal)
Encode/format=json 6564 0% 6564 0% ~ (all equal)
Encode/format=json-2 6564 0% 6564 0% ~ (all equal)
name old alloc/op (B/op) ± new alloc/op (B/op) ± delta ±
Encode/format=vtproto 3200 0% 3200 0% ~ (all equal)
Encode/format=vtproto-2 3200 0% 3200 0% ~ (all equal)
Encode/format=json 7752 0% 7752 0% ~ (all equal)
Encode/format=json-2 7753 0% 7753 0% ~ (all equal)
Decode/format=json 15896 0% 15912 0% +0.10% (p=0.008 n=5+5)
Decode/format=json-2 15896 0% 15912 0% +0.10% (p=0.008 n=5+5)
Decode/format=vtproto 12961.8 0% 12977.6 0% +0.12% (p=0.008 n=5+5)
Decode/format=vtproto-2 13001.6 0% 13017 0% +0.12% (p=0.008 n=5+5)
name old allocs/op (allocs/op) ± new allocs/op (allocs/op) ± delta ±
Encode/format=vtproto 5 0% 5 0% ~ (all equal)
Encode/format=vtproto-2 5 0% 5 0% ~ (all equal)
Encode/format=json 30 0% 30 0% ~ (all equal)
Encode/format=json-2 30 0% 30 0% ~ (all equal)
Decode/format=json 421 0% 421 0% ~ (all equal)
Decode/format=json-2 421 0% 421 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 292.04 4% 289.6 6% ~ (p=0.421 n=5+5)
NDStreamDecoder-2 151.98 8% 142.7 4% ~ (p=0.095 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 13822.6 7% 13808.2 6% ~ (p=1.000 n=5+5)
APMEventToJSON/to-json-2 12056.2 2% 11938.4 2% ~ (p=0.421 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)