Skip to content

ci: enable bench

ci: enable bench #632

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

Benchdiff Results

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

HEAD sha: 15542a9

Base sha: 35b1c40

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 39497.4 1% 39369.8 1% ~ (p=0.730 n=5+4)
Encode/format=json-2 20865.6 2% 20995.2 2% ~ (p=0.548 n=5+5)
Encode/format=vtproto 8230.8 1% 8159 1% ~ (p=0.222 n=5+5)
Encode/format=vtproto-2 4820.2 2% 4821.8 2% ~ (p=0.841 n=5+5)
Decode/format=json 184190 3% 183386 4% ~ (p=0.841 n=5+5)
Decode/format=json-2 94333.6 2% 97245 1% +3.09% (p=0.008 n=5+5)
Decode/format=vtproto 30782 2% 30777.2 1% ~ (p=0.841 n=5+5)
Decode/format=vtproto-2 19269.2 4% 19121 2% ~ (p=1.000 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 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 12961.4 0% 12961.8 0% ~ (p=0.683 n=5+5)
Decode/format=vtproto-2 13001.4 0% 13001.2 0% ~ (p=0.683 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 415.6 10% 410.84 5% ~ (p=1.000 n=5+5)
NDStreamDecoder-2 203.42 7% 212.1 4% ~ (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 16056.2 4% 16788.8 7% ~ (p=0.421 n=5+5)
APMEventToJSON/to-json-2 15619.2 11% 16209 9% ~ (p=0.310 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)