import { bench } from "https://deno.land/x/merlin@v1.0.7/deps.ts";
const { bench } = bench;
import { type bench } from "https://deno.land/x/merlin@v1.0.7/deps.ts";
const { bench } = bench;
Provides methods for starting and stopping a benchmark clock.
Call Signatures
(b: BenchmarkTimer): void | Promise<void>
Properties
results: BenchmarkResult[]
The individual results for each benchmark that was run
Properties
List of the queued benchmarks to run with their name and their run count
The currently running benchmark with its name, run count and the already finished measurements in milliseconds
optional
state: ProgressStateIndicates in which state benchmarking currently is
import { bench } from "https://deno.land/x/merlin@v1.0.7/deps.ts";
const { bench } = bench;
Registers a benchmark as a candidate for the runBenchmarks executor.
Parameters
benchmark: BenchmarkDefinition | BenchmarkFunction
import { bench } from "https://deno.land/x/merlin@v1.0.7/deps.ts";
const { bench } = bench;
Defines the states BenchmarkRunProgress
can be in