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

Extend Exporter Sending Queue batch to support multiple sizers.

#15180
Comparing
XuechunHou:main
(
7f47e34
) with
main
(
209e203
)
CodSpeed Performance Gauge
-30%
Regression
2
Untouched
5
Ignored
1
Skipped
76

Benchmarks

76 total
BenchmarkSplittingBasedOnItemCountHugeMetrics
exporter/exporterhelper/internal/queuebatch/metrics_batch_test.go
Skipped
97.4 ms*
BenchmarkSplittingBasedOnItemCountManySmallTraces
exporter/exporterhelper/internal/queuebatch/traces_batch_test.go
Skipped
3.4 ms*
BenchmarkTracesToProto
pdata/ptrace/pb_test.go
Skipped
6.4 µs*
BenchmarkSplittingBasedOnItemCountHugeLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
Skipped
38.9 ms*
BenchmarkSplittingBasedOnItemCountHugeTraces
exporter/exporterhelper/internal/queuebatch/traces_batch_test.go
Skipped
43.5 ms*
BenchmarkSplittingBasedOnItemCountManyMetricsSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/metrics_batch_test.go
Skipped
91.5 ms*
BenchmarkMetricsFromProto
pdata/pmetric/pb_test.go
Skipped
26.5 µs*
BenchmarkSplittingBasedOnItemCountManySmallLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
Skipped
2.4 ms*
BenchmarkSplittingBasedOnItemCountManySmallMetrics
exporter/exporterhelper/internal/queuebatch/metrics_batch_test.go
Skipped
6.7 ms*
BenchmarkTracesFromProto
pdata/ptrace/pb_test.go
Skipped
14.6 µs*
BenchmarkSplittingBasedOnByteSizeHugeLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
Skipped
95.7 ms*
BenchmarkSplittingBasedOnItemCountManyLogsSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
Skipped
36 ms*
BenchmarkSplittingBasedOnByteSizeManyLogsSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
Skipped
88.3 ms*
BenchmarkSplittingBasedOnByteSizeManySmallLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
Skipped
3.7 s*
BenchmarkSplittingBasedOnItemCountManyTracesSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/traces_batch_test.go
Skipped
47 ms*
BenchmarkLogsToProto
pdata/plog/pb_test.go
Skipped
4.4 µs*
BenchmarkLogsFromProto
pdata/plog/pb_test.go
Skipped
9 µs*
BenchmarkMetricsToProto
pdata/pmetric/pb_test.go
Skipped
6 µs*
zstdWithConcurrency
config/confighttp/compressor_test.go::BenchmarkCompression
Skipped
6.9 µs*
zstdNoConcurrency
config/confighttp/compressor_test.go::BenchmarkCompression
Skipped
36.3 µs*
BenchmarkSplittingBasedOnByteSizeManyProfilesSlightlyAboveLimit
exporter/exporterhelper/xexporterhelper/profiles_batch_test.go
Skipped
85 ms*
BenchmarkSplittingBasedOnByteSizeHugeProfiles
exporter/exporterhelper/xexporterhelper/profiles_batch_test.go
Skipped
99.1 ms*
lg_metric_request/raw_bytes_10991/compressed_bytes_1033/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
Skipped
4.2 µs*
sm_metric_request/raw_bytes_183/compressed_bytes_138/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
Skipped
7.2 µs*
BenchmarkMetricsUsage
pdata/pmetric/metrics_test.go
Skipped
1.4 µs*

Commits

Click on a commit to change the comparison range
Base
main
209e203
+3.42%
changes for logs
569c230
8 days ago
by XuechunHou
-2.13%
removed checks for legacy cfg.Sizer field as its copied into cfg.Limit already
7a677b8
8 days ago
by XuechunHou
-0.96%
refactor: support multi-criteria batch splitting by migrating from single-size to map-based sizing and tracking in queuebatch metrics and traces
7202fe8
8 days ago
by XuechunHou
×2.4
optimized extractLogs and downstream helper methods
6988211
7 days ago
by XuechunHou
added more tests
959cac3
7 days ago
by XuechunHou
-22.41%
some renaming
a9c2790
7 days ago
by XuechunHou
-4.86%
fixed metrics and traces
b30ea9f
7 days ago
by XuechunHou
-2.34%
renaming
62475e5
7 days ago
by XuechunHou
+2.93%
added more tests for metrics and logs
3d46856
7 days ago
by XuechunHou
-1.37%
fixed profiles batch
0089681
7 days ago
by XuechunHou
+7.03%
fixed build error
bcad9c4
7 days ago
by XuechunHou
-5.07%
fixed tests
df39ab8
7 days ago
by XuechunHou
+3.99%
fixed build error lint error
f8271e4
7 days ago
by XuechunHou
+2.02%
fixed presubmit errors
8666f23
6 days ago
by XuechunHou
+30.75%
fixed presubmit errors
2429fe6
6 days ago
by XuechunHou
-70.09%
fixed test
11d6d70
6 days ago
by XuechunHou
-0.08%
fixed build error
97dcd79
6 days ago
by XuechunHou
×2.4
removed typo
27f3ac2
6 days ago
by XuechunHou
-67.27%
updated fake MergeSplit impl.
c943a96
6 days ago
by XuechunHou
-38.06%
ran make gogenerate
615f944
6 days ago
by XuechunHou
+0.01%
return error when both sizer and sizers are defined
86d91c1
6 days ago
by XuechunHou
×2.3
fixed lint error
727611f
6 days ago
by XuechunHou
fixed default value
bf57a72
6 days ago
by XuechunHou
+0.09%
removed BatchConfig.Unmarshal func
0bef796
6 days ago
by XuechunHou
+2.78%
fixed config tests
845c720
6 days ago
by XuechunHou
-35.56%
merged tests
d248e05
6 days ago
by XuechunHou
+0.08%
simplified logic in partition_batcher
3514e9e
6 days ago
by XuechunHou
+24.48%
removed redundant code
d1d9f2b
6 days ago
by XuechunHou
+0.68%
fixed build error
7c52c29
6 days ago
by XuechunHou
+8.8%
fixed build error
d2d70dd
6 days ago
by XuechunHou
-36.24%
fixed test
bb8446f
6 days ago
by XuechunHou
+2.21%
fixed unmarshal
9799027
6 days ago
by XuechunHou
+1.51%
fixed config tests
c5c18ca
6 days ago
by XuechunHou
+4.76%
fixed test
dafa03e
6 days ago
by XuechunHou
+67.58%
fix test
1b71361
6 days ago
by XuechunHou
-73.58%
fixed error encoding field sizers: non string-encoded key, key: {items}, kind: struct, type: map[string]interface {}
162a79e
6 days ago
by XuechunHou
+1.82%
revert changes
b2adc05
6 days ago
by XuechunHou
-0.11%
partition_batcher to use minValue defined in each sizer item in Sizers
b51f1c4
6 days ago
by XuechunHou
+22.44%
fixed config.go logic
ba67afc
6 days ago
by XuechunHou
-22.98%
added more tests
a096931
6 days ago
by XuechunHou
+0.49%
fix build error
7f47e34
6 days ago
by XuechunHou
© 2026 CodSpeed Technology
Home Terms Privacy Docs