runStep

fun runStep(case: RawCase, connections: Int, pace: Pace, cpu: ContainerCpu, counters: () -> Map<String, Double>, ratios: (Map<String, Double>) -> Map<String, Double> = { emptyMap() }, records: (Map<String, Double>, Map<String, Double>) -> Map<String, Double> = { _, _ -> emptyMap() }, watch: () -> () -> Map<String, Double> = { { emptyMap() } }, worker: (Int) -> RawWorker): RawStep

Runs connections workers (worker by index, each with its own connection) of case: pace's warm-up unmeasured, then its measured seconds, as fast as they go or at its rate. The store container's CPU (cpu) and the store's own counters (counters) are read at the window's edges with every worker paused between flushes, so the units counted and the counters' growth cover the same writes. With a rate, a flush's latency starts at its scheduled time, and a flush that started more than LATE_NANOS after it counts as late.