Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/merlin/deps.ts>bench.BenchmarkRunProgress

Testing and Benchmarking framework for deno 🧙‍♂️
Latest
interface bench.BenchmarkRunProgress
implements BenchmarkRunResult
import { type bench } from "https://deno.land/x/merlin@v1.0.7/deps.ts";
const { BenchmarkRunProgress } = bench;

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