Skip to content

Update support for semconv versions up to semconv 1.27.0 (#440) #1114

Update support for semconv versions up to semconv 1.27.0 (#440)

Update support for semconv versions up to semconv 1.27.0 (#440) #1114

GitHub Actions / benchdiff-result completed Feb 12, 2025 in 0s

Benchdiff Results

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

HEAD sha: 1e73b0c

Base sha: 75c9963

Degraded: true

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 27974.8 2% 51616.6 29% +84.51% (p=0.008 n=5+5)
Encode/format=json-2 16640.4 15% 14818 8% ~ (p=0.310 n=5+5)
Encode/format=vtproto 5100.6 1% 5128 1% ~ (p=0.421 n=5+5)
Encode/format=vtproto-2 2810.2 4% 2776.5 0% ~ (p=0.190 n=5+4)
Decode/format=json 152127 2% 139276 2% -8.45% (p=0.008 n=5+5)
Decode/format=json-2 74815.2 5% 74262.4 7% ~ (p=0.548 n=5+5)
Decode/format=vtproto 19989.4 2% 20336.8 4% ~ (p=0.421 n=5+5)
Decode/format=vtproto-2 11893.2 7% 11950.4 5% ~ (p=0.548 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 7592 0% 7592 0% ~ (all equal)
Encode/format=json-2 7593 0% 7593 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 14282.2 0% 14282.8 0% ~ (p=0.667 n=5+5)
Decode/format=json-2 14281 0% 14281.4 0% ~ (p=0.762 n=5+5)
Decode/format=vtproto 12952 0% 12952 0% ~ (all equal)
Decode/format=vtproto-2 12952 0% 12952 0% ~ (all equal)
name old allocs/op (allocs/op) ± new allocs/op (allocs/op) ± delta ±
Encode/format=json 26 0% 26 0% ~ (all equal)
Encode/format=json-2 26 0% 26 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 379 0% 379 0% ~ (all equal)
Decode/format=json-2 379 0% 379 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 304.64 2% 300.16 3% ~ (p=0.310 n=5+5)
NDStreamDecoder-2 162.4 2% 162.8 4% ~ (p=0.968 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 16429.4 11% 16912 14% ~ (p=0.690 n=5+5)
APMEventToJSON/to-json-2 14349.4 2% 13916.6 3% -3.02% (p=0.032 n=5+5)
name old alloc/op (B/op) ± new alloc/op (B/op) ± delta ±
APMEventToJSON/to-json 2616 0% 2616 0% ~ (all equal)
APMEventToJSON/to-json-2 2616 0% 2616 0% ~ (all equal)
name old allocs/op (allocs/op) ± new allocs/op (allocs/op) ± delta ±
APMEventToJSON/to-json 38 0% 38 0% ~ (all equal)
APMEventToJSON/to-json-2 38 0% 38 0% ~ (all equal)