Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/testing/bench.ts>bench

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function bench
import { bench } from "https://deno.land/std@0.116.0/testing/bench.ts";

Registers a benchmark as a candidate for the runBenchmarks executor.