Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
import * as denjucks from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/testing/bench.ts";

Functions

Registers a benchmark as a candidate for the runBenchmarks executor.

Runs all registered and non-skipped benchmarks serially.

Runs specified benchmarks if the enclosing script is main.

Interfaces

Defines a benchmark definition with configurable runs.

Defines a benchmark through a named function.

Defines runBenchmark's run constraints by matching benchmark names.

Provides methods for starting and stopping a benchmark clock.