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

fix(queuebatch): prevent timer data race in partition_batcher

#14491
Comparing
aditya4044656:fix/partition-batcher-timer-race
(
185ff74
) with
main
(
f1bf9c3
)
CodSpeed Performance Gauge
+1%
Untouched
61
Ignored
3
Skipped
20

Benchmarks

84 total
with_a_duplicate_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
+22%
60 ns49 ns
with_a_new_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
+22%
60 ns49 ns
with_an_existing_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
+22%
60 ns49 ns
with_a_hundred_values_to_loop_through
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
+7%
160 ns150 ns
HTTP/1.1,_client_per_thread_(like_single_app)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
+6%
1.2 ms1.1 ms
BenchmarkBatchMetricProcessor2k
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
+3%
129.8 ms126.2 ms
BenchmarkTracesUsage
pdata/ptrace/traces_test.go
CodSpeed Performance Gauge
+3%
5.1 µs5 µs
BenchmarkGRPCLogsSequential
receiver/otlpreceiver/otlp_benchmark_test.go
CodSpeed Performance Gauge
+1%
6.3 ms6.2 ms
md_trace_request/raw_bytes_338/compressed_bytes_294/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
931 ns922 ns
lg_trace_request/raw_bytes_7250/compressed_bytes_313/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
50.6 µs50.1 µs
md_trace_request/raw_bytes_338/compressed_bytes_265/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
8.9 µs8.9 µs
sm_log_request/raw_bytes_160/compressed_bytes_159/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
9 µs8.9 µs
BenchmarkMetricsUsage
pdata/pmetric/metrics_test.go
CodSpeed Performance Gauge
+1%
1.6 µs1.6 µs
BenchmarkMetricsMarshalJSON
pdata/pmetric/metrics_test.go
CodSpeed Performance Gauge
+1%
5.2 µs5.2 µs
BenchmarkProfilesUsage
pdata/pprofile/profiles_test.go
CodSpeed Performance Gauge
+1%
3.6 µs3.6 µs
BenchmarkMemoryQueueWaitForResult
exporter/exporterhelper/internal/queue/memory_queue_test.go
CodSpeed Performance Gauge
+1%
67.4 µs67.1 µs
BenchmarkMetricsFromProto10k
pdata/pmetric/pb_test.go
CodSpeed Performance Gauge
0%
403.2 µs401.8 µs
lg_metric_request/raw_bytes_10991/compressed_bytes_538/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
16.9 µs16.9 µs
BenchmarkProfilesFromProto
pdata/pprofile/pb_test.go
CodSpeed Performance Gauge
0%
5.6 µs5.6 µs
BenchmarkPersistentQueue
exporter/exporterhelper/internal/queue/persistent_queue_test.go
CodSpeed Performance Gauge
0%
204.9 µs204.3 µs
md_trace_request/raw_bytes_338/compressed_bytes_256/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
26.4 µs26.3 µs
lg_trace_request/raw_bytes_7250/compressed_bytes_269/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
11.1 µs11.1 µs
sm_log_request/raw_bytes_160/compressed_bytes_178/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
742 ns741 ns
md_metric_request/raw_bytes_376/compressed_bytes_193/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
23.9 µs23.8 µs
BenchmarkProfilesMarshalJSON
pdata/pprofile/profiles_test.go
CodSpeed Performance Gauge
0%
4.3 µs4.3 µs

Commits

Click on a commit to change the comparison range
Base
main
f1bf9c3
+0.63%
chore: add changelog entry for partition_batcher timer race fix
185ff74
23 hours ago
by aditya4044656
© 2026 CodSpeed Technology
Home Terms Privacy Docs