Module

std/testing/bench.ts>bench

Deno standard library
Go to Latest
function bench
import { bench } from "https://dotland.deno.dev/std@0.36.0/testing/bench.ts";

Registers a benchmark as a candidate for the runBenchmarks executor.

Parameters

benchmark: BenchmarkDefinition | BenchmarkFunction