Skip to content

Merge branch 'main' into dependabot/go_modules/otel-70eecbfcfb #1065

Merge branch 'main' into dependabot/go_modules/otel-70eecbfcfb

Merge branch 'main' into dependabot/go_modules/otel-70eecbfcfb #1065

GitHub Actions / benchdiff-result succeeded Jan 17, 2025 in 0s

Benchdiff Results

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

HEAD sha: 3570667

Base sha: 99f84c0

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 25301.8 1% 25538.8 1% ~ (p=0.111 n=4+5)
Encode/format=json-2 13366.6 2% 13359.2 1% ~ (p=1.000 n=5+5)
Encode/format=vtproto 4782.2 1% 4893.8 1% +2.33% (p=0.008 n=5+5)
Encode/format=vtproto-2 2686.2 6% 2983.2 12% ~ (p=0.087 n=5+5)
Decode/format=json 130257 4% 130924 2% ~ (p=0.690 n=5+5)
Decode/format=json-2 76657 25% 68052.8 3% ~ (p=0.548 n=5+5)
Decode/format=vtproto 18821.8 2% 18445.6 0% -2.00% (p=0.008 n=5+5)
Decode/format=vtproto-2 11246.2 6% 10804.2 1% ~ (p=0.056 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% 14283.6 0% ~ (p=0.310 n=5+5)
Decode/format=json-2 14282.4 0% 14281.8 0% ~ (p=0.429 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 283.4 4% 283.42 5% ~ (p=0.841 n=5+5)
NDStreamDecoder-2 149.58 2% 150.3 3% ~ (p=0.786 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 16365.2 12% 15656.2 8% ~ (p=0.222 n=5+5)
APMEventToJSON/to-json-2 13496.6 1% 13007.6 1% -3.62% (p=0.008 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)