Skip to main content
Module

std/testing/bench.ts>bench

Deno standard library
Go to Latest
function bench
Deprecated
Deprecated

(will be removed after 0.157.0) 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.158.0/testing/bench.ts";