Deprecated
Use Deno.bench()
instead. See https://doc.deno.land/deno/unstable/~/Deno.bench
for details.
Registers a benchmark as a candidate for the runBenchmarks executor.
import { bench } from "https://deno.land/std@0.146.0/testing/bench.ts";
Parameters
benchmark: BenchmarkDefinition | BenchmarkFunction