Avatar for the open-telemetry user
open-telemetry
opentelemetry-go
BlogDocsChangelog

Add partial benchmarks in CI

#8387
Comparing
XSAM:feat/affected-benchmarks
(
ef1ff1c
) with
main
(
6671f7b
)
CodSpeed Performance Gauge
+23%
Improvement
135
Regression
26
Untouched
92
Skipped
1033

Benchmarks

1286 total
String
attribute/benchmark_test.go::BenchmarkByteSlice
CodSpeed Performance Gauge
-42%
67 ns116 ns
FutureAdditionalData
propagation/trace_context_benchmark_test.go::BenchmarkExtract
CodSpeed Performance Gauge
-36%
524 ns821 ns
Emit
attribute/benchmark_test.go::BenchmarkFloat64Slice::Len2
CodSpeed Performance Gauge
-35%
394 ns606 ns
WithLimit/true
sdk/trace/span_test.go::BenchmarkRecordingSpanSetAttributes
CodSpeed Performance Gauge
-35%
16.8 µs25.8 µs
Value
attribute/benchmark_test.go::BenchmarkFloat64
CodSpeed Performance Gauge
-33%
2 ns3 ns
Emit
attribute/benchmark_test.go::BenchmarkIntSlice::Len2
CodSpeed Performance Gauge
-33%
313 ns465 ns
AsSlice
attribute/benchmark_test.go::BenchmarkSlice::Len5Nested
CodSpeed Performance Gauge
-31%
231 ns337 ns
String
attribute/benchmark_test.go::BenchmarkInt64Slice::Len2
CodSpeed Performance Gauge
-30%
137 ns196 ns
BogusVersion
propagation/trace_context_benchmark_test.go::BenchmarkExtract
CodSpeed Performance Gauge
-25%
156 ns207 ns
Value
attribute/benchmark_test.go::BenchmarkIntSlice::Len8
CodSpeed Performance Gauge
-24%
463 ns606 ns
Set.Filter
attribute/set_test.go::BenchmarkFiltering::Filtered
CodSpeed Performance Gauge
-20%
3.9 µs4.9 µs
KeyValue
attribute/benchmark_test.go::BenchmarkBoolSlice::Len2
CodSpeed Performance Gauge
-20%
20 ns25 ns
KeyValue
attribute/benchmark_test.go::BenchmarkInt64Slice::Len8
CodSpeed Performance Gauge
-19%
368 ns454 ns
KeyValue
attribute/benchmark_test.go::BenchmarkSlice::Len5Nested
CodSpeed Performance Gauge
-17%
294 ns353 ns
Value
attribute/benchmark_test.go::BenchmarkSlice::Len5Nested
CodSpeed Performance Gauge
-17%
282 ns338 ns
KeyValue
attribute/benchmark_test.go::BenchmarkFloat64
CodSpeed Performance Gauge
-15%
11 ns13 ns
Value
attribute/benchmark_test.go::BenchmarkSlice::Len3
CodSpeed Performance Gauge
-15%
203 ns238 ns
String
attribute/benchmark_test.go::BenchmarkBoolSlice::Len8
CodSpeed Performance Gauge
-14%
298 ns345 ns
AlwaysSample
sdk/trace/benchmark_test.go::BenchmarkStartEndSpan
CodSpeed Performance Gauge
-14%
1.3 µs1.5 µs
Value
attribute/benchmark_test.go::BenchmarkFloat64Slice::Len8
CodSpeed Performance Gauge
-14%
422 ns488 ns
Emit
attribute/benchmark_test.go::BenchmarkFloat64Slice::Len8
CodSpeed Performance Gauge
-13%
1.3 µs1.5 µs
AsStringSlice
attribute/benchmark_test.go::BenchmarkStringSlice::Len2
CodSpeed Performance Gauge
-12%
105 ns120 ns
KeyValue
attribute/benchmark_test.go::BenchmarkFloat64Slice::Len8
CodSpeed Performance Gauge
-12%
430 ns490 ns
Value
attribute/benchmark_test.go::BenchmarkStringSlice::Len8
CodSpeed Performance Gauge
-12%
624 ns708 ns
String
attribute/benchmark_test.go::BenchmarkFloat64Slice::Len8
CodSpeed Performance Gauge
-11%
1.1 µs1.3 µs

Commits

Click on a commit to change the comparison range
Base
main
6671f7b
+1.05%
Test: change go files to trigger benchmarks
b9ab2dd
6 days ago
by XSAM
+19.01%
Remove benchtime
e1da1e6
6 days ago
by XSAM
+0.58%
Fix BASE_REF
607345c
6 days ago
by XSAM
+5.62%
Trigger benchmark
1c22a08
6 days ago
by XSAM
-3.37%
Trigger benchmark
9b5d32e
6 days ago
by XSAM
+1.02%
Trigger benchmark
7da9b9c
5 days ago
by XSAM
-1.28%
Trigger benchmark
ef1ff1c
5 days ago
by XSAM
© 2026 CodSpeed Technology
Home Terms Privacy Docs