Skip to content

runLatencyBenchmark

runLatencyBenchmark(options): Promise<LatencyBenchmarkResult>

Defined in: latency.ts:116

Run a latency benchmark against a LatencyTarget.

Seeds the target, performs optional warmup, measures iterations search calls, then tears down. Returns the latency summary, raw samples, and any threshold breaches.

LatencyBenchmarkOptions

Promise<LatencyBenchmarkResult>