Skip to main content
Module

std/testing/bench.ts>bench

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

Registers a benchmark as a candidate for the runBenchmarks executor.

Parameters

benchmark: BenchmarkDefinition | BenchmarkFunction