std/testing/bench.ts

Deno standard library
Go to Latest
function runBenchmarks
import { runBenchmarks } from "https://deno.land/std@0.102.0/testing/bench.ts?s=runBenchmarks";

Runs all registered and non-skipped benchmarks serially.

Parameters

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

Returns

Promise<BenchmarkRunResult>[src]

results of the benchmarking