open-telemetry
opentelemetry-collector
BlogDocsChangelog

[chore] use the same modernize as golanglint

#14175
Comparing
paulojmdias:chore/use_golanglint_analyzer
(
eead7cf
) with
main
(
7012862
)
CodSpeed Performance Gauge
-34%
Improvements
1
Regressions
1
Untouched
71

Benchmarks

Failed

zstdWithConcurrency
config/confighttp/compressor_test.go::BenchmarkCompression
Regression
CodSpeed Performance Gauge
-34%
19 µs28.7 µs

Improved

BenchmarkSplittingBasedOnItemCountManySmallLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
CodSpeed Performance Gauge
+36%
3.3 ms2.4 ms

Passed

BenchmarkSplittingBasedOnItemCountHugeLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
CodSpeed Performance Gauge
+19%
45.7 ms38.4 ms
BenchmarkSplittingBasedOnItemCountHugeTraces
exporter/exporterhelper/internal/queuebatch/traces_batch_test.go
CodSpeed Performance Gauge
+18%
51 ms43.3 ms
lg_log_request/raw_bytes_4850/compressed_bytes_253/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+8%
37 µs34.3 µs
md_log_request/raw_bytes_242/compressed_bytes_220/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+6%
23.9 µs22.5 µs
sm_trace_request/raw_bytes_240/compressed_bytes_211/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+6%
24.9 µs23.5 µs
BenchmarkSplittingBasedOnItemCountManyLogsSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
CodSpeed Performance Gauge
+6%
38.4 ms36.3 ms
sm_metric_request/raw_bytes_183/compressed_bytes_141/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+6%
20.9 µs19.7 µs
BenchmarkSplittingBasedOnItemCountManySmallMetrics
exporter/exporterhelper/internal/queuebatch/metrics_batch_test.go
CodSpeed Performance Gauge
+5%
7.1 ms6.8 ms
BenchmarkMultiBatchMetricProcessor2k
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
+5%
144.9 ms138.1 ms
sm_log_request/raw_bytes_160/compressed_bytes_164/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+5%
20.4 µs19.5 µs
md_metric_request/raw_bytes_376/compressed_bytes_193/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+4%
25.1 µs24.1 µs
BenchmarkSplittingBasedOnItemCountManyMetricsSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/metrics_batch_test.go
CodSpeed Performance Gauge
+3%
95.5 ms92.3 ms
lg_trace_request/raw_bytes_7250/compressed_bytes_313/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+3%
49.9 µs48.5 µs
md_trace_request/raw_bytes_338/compressed_bytes_256/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+2%
26.8 µs26.2 µs
BenchmarkFromLocationIndices
pdata/pprofile/locations_test.go
CodSpeed Performance Gauge
+2%
1.8 µs1.7 µs
BenchmarkSplittingBasedOnItemCountManySmallTraces
exporter/exporterhelper/internal/queuebatch/traces_batch_test.go
CodSpeed Performance Gauge
+2%
3.6 ms3.5 ms
sm_metric_request/raw_bytes_183/compressed_bytes_155/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
691 ns681 ns
md_log_request/raw_bytes_242/compressed_bytes_260/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
801 ns791 ns
BenchmarkMetricsUsage
pdata/pmetric/metrics_test.go
CodSpeed Performance Gauge
+1%
1.5 µs1.5 µs
md_trace_request/raw_bytes_338/compressed_bytes_294/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
891 ns881 ns
BenchmarkMetricsToProto
pdata/pmetric/pb_test.go
CodSpeed Performance Gauge
+1%
6 µs6 µs
BenchmarkProfilesUsage
pdata/pprofile/profiles_test.go
CodSpeed Performance Gauge
+1%
3.5 µs3.5 µs
lg_metric_request/raw_bytes_10991/compressed_bytes_1033/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
4.2 µs4.2 µs
lg_log_request/raw_bytes_4850/compressed_bytes_463/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
1.9 µs1.9 µs
BenchmarkTracesFromProto
pdata/ptrace/pb_test.go
CodSpeed Performance Gauge
0%
15.7 µs15.6 µs
BenchmarkTracesUsage
pdata/ptrace/traces_test.go
CodSpeed Performance Gauge
0%
4.8 µs4.8 µs
BenchmarkLogsFromProto
pdata/plog/pb_test.go
CodSpeed Performance Gauge
0%
9.7 µs9.7 µs
BenchmarkMemoryQueueWaitForResult
exporter/exporterhelper/internal/queue/memory_queue_test.go
CodSpeed Performance Gauge
0%
69.3 µs69.1 µs
md_log_request/raw_bytes_242/compressed_bytes_210/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
9.6 µs9.6 µ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%
692 ns691 ns
md_trace_request/raw_bytes_338/compressed_bytes_265/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
8.9 µs8.9 µs
lg_metric_request/raw_bytes_10991/compressed_bytes_587/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
77.4 µs77.4 µs
BenchmarkTraceSizeSpanCount
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
0%
29 ns29 ns
lg_trace_request/raw_bytes_7250/compressed_bytes_615/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
2.4 µs2.4 µs
with_a_duplicate_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
0%
29 ns29 ns
with_a_new_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
0%
29 ns29 ns
BenchmarkFromAttributeIndices
pdata/pprofile/attributes_test.go
CodSpeed Performance Gauge
0%
210 ns210 ns
with_a_hundred_values_to_loop_through
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
0%
130 ns130 ns
with_an_existing_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
0%
29 ns29 ns
md_metric_request/raw_bytes_376/compressed_bytes_215/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
851 ns851 ns
BenchmarkLogsMarshalJSON
pdata/plog/logs_test.go
CodSpeed Performance Gauge
0%
3.8 µs3.8 µs
sm_trace_request/raw_bytes_240/compressed_bytes_258/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
791 ns791 ns
BenchmarkTracesToProto
pdata/ptrace/pb_test.go
CodSpeed Performance Gauge
0%
6.3 µs6.3 µs
BenchmarkProfilesFromProto
pdata/pprofile/pb_test.go
CodSpeed Performance Gauge
0%
5.5 µs5.5 µs
BenchmarkLogsToProto
pdata/plog/pb_test.go
CodSpeed Performance Gauge
0%
4.3 µs4.3 µs
BenchmarkProfilesMarshalJSON
pdata/pprofile/profiles_test.go
CodSpeed Performance Gauge
0%
4.3 µs4.3 µs
md_metric_request/raw_bytes_376/compressed_bytes_203/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
8.3 µs8.3 µs
BenchmarkMetricsFromProto
pdata/pmetric/pb_test.go
CodSpeed Performance Gauge
0%
27.7 µs27.8 µs
sm_trace_request/raw_bytes_240/compressed_bytes_211/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
8.1 µs8.1 µs
sm_log_request/raw_bytes_160/compressed_bytes_159/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-1%
9 µs9.1 µs
BenchmarkProfilesToProto
pdata/pprofile/pb_test.go
CodSpeed Performance Gauge
-1%
1.6 µs1.6 µs
BenchmarkSplittingBasedOnItemCountHugeMetrics
exporter/exporterhelper/internal/queuebatch/metrics_batch_test.go
CodSpeed Performance Gauge
-1%
95.7 ms96.3 ms
lg_log_request/raw_bytes_4850/compressed_bytes_217/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-1%
11.1 µs11.1 µs
BenchmarkSplittingBasedOnByteSizeManyLogsSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
CodSpeed Performance Gauge
-1%
89.6 ms90.2 ms
sm_metric_request/raw_bytes_183/compressed_bytes_138/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-1%
7.1 µs7.2 µs
BenchmarkPersistentQueue
exporter/exporterhelper/internal/queue/persistent_queue_test.go
CodSpeed Performance Gauge
-1%
201.4 µs202.8 µs
BenchmarkLogsUsage
pdata/plog/logs_test.go
CodSpeed Performance Gauge
-1%
2.7 µs2.7 µs
BenchmarkMetricsMarshalJSON
pdata/pmetric/metrics_test.go
CodSpeed Performance Gauge
-1%
5.1 µs5.2 µs
BenchmarkTracesMarshalJSON
pdata/ptrace/traces_test.go
CodSpeed Performance Gauge
-1%
6 µs6 µs
BenchmarkSplittingBasedOnByteSizeHugeLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
CodSpeed Performance Gauge
-2%
94.4 ms95.9 ms
BenchmarkSplittingBasedOnItemCountManyTracesSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/traces_batch_test.go
CodSpeed Performance Gauge
-2%
47.7 ms48.7 ms
lg_metric_request/raw_bytes_10991/compressed_bytes_538/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-2%
16.7 µs17.1 µs
BenchmarkTraceSizeBytes
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
-3%
421.8 µs436.9 µs
BenchmarkSplittingBasedOnByteSizeManySmallLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
CodSpeed Performance Gauge
-4%
3.7 s3.8 s
HTTP/1.1,_client_per_thread_(like_single_app)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
HTTP/2.0,_client_per_thread_(like_single_app)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
HTTP/2.0,_shared_client_(like_load_balancer)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns
zstdNoConcurrency
config/confighttp/compressor_test.go::BenchmarkCompression
CodSpeed Performance Gauge
-2%
34 µs34.7 µs
BenchmarkBatchMetricProcessor2k
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
-7%
138 ms148.1 ms
HTTP/1.1,_shared_client_(like_load_balancer)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
N/A
< 1 ns< 1 ns

Commits

Click on a commit to change the comparison range
Base
main
7012862
-31.03%
Merge branch 'main' into chore/use_golanglint_analyzer
9b7948a
1 day ago
by paulojmdias
0%
chore: make gotidy Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
f665983
20 hours ago
by paulojmdias
-2.64%
Merge branch 'main' into chore/use_golanglint_analyzer
eead7cf
13 hours ago
by codeboten
© 2025 CodSpeed Technology
Home Terms Privacy Docs