Skip to content

Added support for elastic.profiler_stack_trace_ids OTel attribute #22

Added support for elastic.profiler_stack_trace_ids OTel attribute

Added support for elastic.profiler_stack_trace_ids OTel attribute #22

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: 6cb5030

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=json 57913.8 10% 43093.2 36% ~ (p=0.151 n=5+5)
Encode/format=json-2 45368.4 43% 14994.4 4% -66.95% (p=0.008 n=5+5)
Encode/format=vtproto 6674 5% 6500.8 0% -2.60% (p=0.008 n=5+5)
Encode/format=vtproto-2 3766 6% 3553.2 2% ~ (p=0.095 n=5+5)
Decode/format=json 137839 2% 133638 3% -3.05% (p=0.032 n=5+5)
Decode/format=json-2 71451.2 9% 70538.8 5% ~ (p=0.841 n=5+5)
Decode/format=vtproto 22618.2 2% 23022.4 0% ~ (p=0.095 n=5+5)
Decode/format=vtproto-2 13184.2 1% 14620 16% +10.89% (p=0.016 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.4 0% 7753 0% ~ (p=0.333 n=5+4)
Encode/format=vtproto 3200 0% 3200 0% ~ (all equal)
Encode/format=vtproto-2 3200 0% 3200 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 12962 0% 12978.4 0% +0.13% (p=0.016 n=4+5)
Decode/format=vtproto-2 13001.6 0% 13018 0% +0.13% (p=0.016 n=5+4)
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=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 288.74 5% 283.26 4% ~ (p=0.548 n=5+5)
NDStreamDecoder-2 142.06 3% 147.76 6% ~ (p=0.087 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 13696.6 5% 12813.6 4% -6.45% (p=0.016 n=5+5)
APMEventToJSON/to-json-2 12323.6 1% 11915.4 5% ~ (p=0.151 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)