Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump go version to 1.21 #215

Merged
merged 1 commit into from
Feb 7, 2024

Bump go version to 1.21

61267d1
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Bump go version to 1.21 #215

Bump go version to 1.21
61267d1
Select commit
Loading
Failed to load commit list.
GitHub Actions / benchdiff-result succeeded Feb 7, 2024 in 0s

Benchdiff Results

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

HEAD sha: 61267d1

Base sha: 3b28495

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 37129.6 53% 32275.8 57% ~ (p=0.222 n=5+5)
Encode/format=json-2 14111.4 7% 13929.8 2% ~ (p=0.937 n=5+5)
Encode/format=vtproto 6265.4 1% 6515.8 2% +4.00% (p=0.008 n=5+5)
Encode/format=vtproto-2 3420.6 1% 3549.4 4% +3.77% (p=0.008 n=5+5)
Decode/format=vtproto 22733.2 1% 22213.6 1% -2.29% (p=0.008 n=5+5)
Decode/format=vtproto-2 13838.4 4% 13263.2 3% ~ (p=0.056 n=5+5)
Decode/format=json 126385 2% 126535 1% ~ (p=0.690 n=5+5)
Decode/format=json-2 70760 13% 66619.4 5% ~ (p=0.151 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=vtproto 12961.6 0% 12961 0% ~ (p=0.095 n=5+4)
Decode/format=vtproto-2 13002 0% 13002 0% ~ (all equal)
Decode/format=json 14488 0% 14488 0% ~ (all equal)
Decode/format=json-2 14488 0% 14488 0% ~ (all equal)
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=vtproto 348 0% 348 0% ~ (all equal)
Decode/format=vtproto-2 348 0% 348 0% ~ (all equal)
Decode/format=json 397 0% 397 0% ~ (all equal)
Decode/format=json-2 397 0% 397 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 279.94 1% 281.68 4% ~ (p=0.151 n=5+5)
NDStreamDecoder-2 158.84 5% 159.3 5% ~ (p=0.548 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 14872.6 6% 14352 5% ~ (p=0.095 n=5+5)
APMEventToJSON/to-json-2 13543.6 2% 12519.4 2% -7.56% (p=0.008 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)