std/testing/bench.ts

Deno standard library
Go to Latest
interface BenchmarkRunProgress
implements BenchmarkRunResult
import { type BenchmarkRunProgress } from "https://deno.land/std@0.151.0/testing/bench.ts?s=BenchmarkRunProgress";

Defines the current progress during the run of runBenchmarks

Properties

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

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

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

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

optional
state: ProgressState
[src]

Indicates in which state benchmarking currently is