Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface BenchmarkRunProgress
implements BenchmarkRunResult
import { type BenchmarkRunProgress } from "https://deno.land/std@0.100.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