Module

std/testing/bench.ts

Deno standard library
Go to Latest
import * as mod from "https://dotland.deno.dev/std@0.36.0/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.