std/testing/bench.ts

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

Parameters

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

Returns

Promise<BenchmarkRunResult>[src]

results of the benchmarking