Skip to main content
Go to Latest
interface BenchmarkRunProgress
implements BenchmarkRunResult
import { type BenchmarkRunProgress } from "https://deno.land/std@0.145.0/testing/bench.ts";

Defines the current progress during the run of runBenchmarks

Properties

optional
queued: Array<{ name: string; runsCount: number; }>

List of the queued benchmarks to run with their name and their run count

optional
running: { name: string; runsCount: number; measuredRunsMs: number[]; }

The currently running benchmark with its name, run count and the already finished measurements in milliseconds

optional
state: ProgressState

Indicates in which state benchmarking currently is