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

x/dex/lib/deps/testing/bench.ts

Dex: An SQL query builder port of Knex for Deno
Latest
import * as dex from "https://deno.land/x/dex@1.0.2/lib/deps/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.