Skip to content

feat: add error.id to jaeger errors #59

feat: add error.id to jaeger errors

feat: add error.id to jaeger errors #59

GitHub Actions / benchdiff-result succeeded May 3, 2024 in 0s

Benchdiff Results

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

HEAD sha: 2f3638c

Base sha: 3924861

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 26148.2 2% 26527 1% ~ (p=0.095 n=5+5)
Encode/format=json-2 13768.8 1% 17269.6 38% ~ (p=0.063 n=4+5)
Encode/format=vtproto 6350.2 1% 6435.6 2% ~ (p=0.095 n=5+5)
Encode/format=vtproto-2 3592.4 4% 3502.6 1% ~ (p=0.500 n=5+5)
Decode/format=vtproto 21852.2 2% 22236 1% ~ (p=0.056 n=5+5)
Decode/format=vtproto-2 13154.8 6% 13249.8 7% ~ (p=0.841 n=5+5)
Decode/format=json 127168 1% 129275 1% +1.66% (p=0.032 n=5+5)
Decode/format=json-2 64793.5 1% 63916.2 1% -1.35% (p=0.032 n=4+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 12976.6 0% 12975.4 0% -0.01% (p=0.048 n=5+5)
Decode/format=vtproto-2 13013.8 0% 13013 0% ~ (p=0.333 n=5+4)
Decode/format=json 14504 0% 14504 0% ~ (all equal)
Decode/format=json-2 14504 0% 14504 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 285.38 5% 285.8 5% ~ (p=1.000 n=5+5)
NDStreamDecoder-2 165.64 8% 162.42 7% ~ (p=0.690 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 14636.8 5% 13903.8 6% ~ (p=0.056 n=5+5)
APMEventToJSON/to-json-2 13062 6% 12572.6 1% -3.75% (p=0.016 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)