std@0.116.0/testing/bench.ts

Deno standard library
GitHub Stars
2267
Go to Latest
import * as mod from "https://deno.land/std@0.116.0/testing/bench.ts";

Enums

Defines the states BenchmarkRunProgress can be in

Functions

Registers a benchmark as a candidate for the runBenchmarks executor.

Clears benchmark candidates which name matches only and doesn't match skip. Removes all candidates if options were not provided

Runs all registered and non-skipped benchmarks serially.

Interfaces

Defines clearBenchmark's constraints by matching benchmark names.

Defines a benchmark definition with configurable runs.

Defines a benchmark through a named function.

Defines the result of a single benchmark

Defines runBenchmark's run constraints by matching benchmark names.

Defines the current progress during the run of runBenchmarks

Defines the result of a runBenchmarks call

Provides methods for starting and stopping a benchmark clock.