mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user