Skip to content

action: enable benchdiff (#170) #648

action: enable benchdiff (#170)

action: enable benchdiff (#170) #648

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / benchdiff-result succeeded Oct 18, 2023 in 0s

Benchdiff Results

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

HEAD sha: 9c35a63

Base sha: 9c35a63

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 38709 1% 38559.8 1% ~ (p=0.690 n=5+5)
Encode/format=json-2 20210 1% 20265.2 0% ~ (p=0.730 n=5+4)
Encode/format=vtproto 7906.6 3% 7798 1% ~ (p=0.222 n=5+5)
Encode/format=vtproto-2 4472 1% 4752 12% +6.26% (p=0.008 n=5+5)
Decode/format=json 180679 4% 180277 2% ~ (p=1.000 n=5+5)
Decode/format=json-2 92134 1% 92510.4 1% ~ (p=0.421 n=5+5)
Decode/format=vtproto 29878.4 1% 29799.8 0% ~ (p=0.690 n=5+5)
Decode/format=vtproto-2 18661.2 0% 18718 1% ~ (p=0.686 n=4+4)
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 0% 7753 0% ~ (all equal)
Encode/format=vtproto 3200 0% 3200 0% ~ (all equal)
Encode/format=vtproto-2 3200 0% 3200 0% ~ (all equal)
Decode/format=json 15896 0% 15896 0% ~ (all equal)
Decode/format=json-2 15896 0% 15896 0% ~ (all equal)
Decode/format=vtproto 12962.2 0% 12961.6 0% ~ (p=0.429 n=5+5)
Decode/format=vtproto-2 13002 0% 13001.6 0% ~ (p=0.444 n=5+5)
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 392.7 4% 410.76 6% ~ (p=0.056 n=5+5)
NDStreamDecoder-2 236.28 13% 211.38 6% -10.54% (p=0.016 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 15994.6 2% 16925.2 4% +5.82% (p=0.016 n=5+5)
APMEventToJSON/to-json-2 14878.2 2% 14900 2% ~ (p=0.841 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)