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.
function runBenchmarks
import { runBenchmarks } from "https://deno.land/std@0.100.0/testing/bench.ts";

Runs all registered and non-skipped benchmarks serially.

Parameters

optional
unnamed 0: BenchmarkRunOptions = [UNSUPPORTED]
optional
progressCb: (progress: BenchmarkRunProgress) => void | Promise<void>

Returns

results of the benchmarking