Module

std/testing/bench.ts

Deno standard library
Go to Latest
function runBenchmarks
Deprecated
Deprecated

Use Deno.bench() instead. See https://doc.deno.land/deno/unstable/~/Deno.bench for details.

Runs all registered and non-skipped benchmarks serially.

import { runBenchmarks } from "https://deno.land/std@0.146.0/testing/bench.ts";

Parameters

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

Returns

results of the benchmarking