orchestrator/clickhouse: add a benchmark for networks.csv

```
goos: linux
goarch: amd64
pkg: akvorado/orchestrator/clickhouse
cpu: AMD Ryzen 5 5600X 6-Core Processor
BenchmarkNetworks-12                 482                 2.447 ms/op
```
This commit is contained in:
Vincent Bernat
2025-08-17 10:56:06 +02:00
parent f974d5591a
commit f7cc5e3dbc
5 changed files with 157 additions and 118 deletions

View File

@@ -14,7 +14,7 @@ import (
)
// NewMock create a new HTTP component listening on a random free port.
func NewMock(t *testing.T, r *reporter.Reporter) *Component {
func NewMock(t testing.TB, r *reporter.Reporter) *Component {
t.Helper()
config := DefaultConfiguration()
config.Listen = "0.0.0.0:0"