persistcli::open_loop

Function run_benchmark

Source
async fn run_benchmark<W, R>(
    args: Args,
    metrics_registry: MetricsRegistry,
    metrics: Arc<Metrics>,
    writers: Vec<W>,
    readers: Vec<R>,
) -> Result<(), Error>
where W: BenchmarkWriter + Send + Sync + 'static, R: BenchmarkReader + Send + Sync + 'static,