Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/testing/bench.ts>bench

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

Registers a benchmark as a candidate for the runBenchmarks executor.

Parameters

benchmark: BenchmarkDefinition | BenchmarkFunction