Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pretty_benching/deps.ts>BenchmarkRunProgress

:sauropod: A small lib to make your Deno benchmarking progress and results look pretty
Latest
interface BenchmarkRunProgress
implements BenchmarkRunResult
import { type BenchmarkRunProgress } from "https://deno.land/x/pretty_benching@v0.3.3/deps.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