Skip to content

Stop generating code for pooling (#359) #1367

Stop generating code for pooling (#359)

Stop generating code for pooling (#359) #1367

GitHub Actions / benchdiff-result succeeded Sep 6, 2024 in 0s

Benchdiff Results

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

HEAD sha: c584875

Base sha: c584875

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 4626 1% 4859 0% +5.04% (p=0.016 n=5+4)
Encode/format=vtproto-2 2596.2 3% 2724.4 5% +4.94% (p=0.032 n=5+5)
Encode/format=json 25263.6 1% 25368.2 1% ~ (p=0.286 n=5+4)
Encode/format=json-2 13191.6 1% 13468.2 7% ~ (p=0.310 n=5+5)
Decode/format=json 123263 2% 127089 9% ~ (p=0.421 n=5+5)
Decode/format=json-2 65182.8 2% 72325.6 12% ~ (p=0.222 n=5+5)
Decode/format=vtproto 17907.6 1% 18079.6 1% ~ (p=0.095 n=5+5)
Decode/format=vtproto-2 10282.4 1% 10760 4% +4.64% (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 3072 0% 3072 0% ~ (all equal)
Encode/format=vtproto-2 3072 0% 3072 0% ~ (all equal)
Encode/format=json 7592 0% 7592 0% ~ (all equal)
Encode/format=json-2 7593 0% 7593 0% ~ (all equal)
Decode/format=json 14283.8 0% 14282.4 0% ~ (p=0.286 n=5+5)
Decode/format=json-2 14280.8 0% 14281.4 0% ~ (p=0.397 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=vtproto 1 0% 1 0% ~ (all equal)
Encode/format=vtproto-2 1 0% 1 0% ~ (all equal)
Encode/format=json 26 0% 26 0% ~ (all equal)
Encode/format=json-2 26 0% 26 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 280.3 0% 278.36 5% ~ (p=0.460 n=4+5)
NDStreamDecoder-2 146.74 1% 156.08 10% ~ (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 15484.2 1% 15258.2 8% ~ (p=1.000 n=4+5)
APMEventToJSON/to-json-2 12749.4 2% 12848.8 1% ~ (p=0.151 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)