Skip to main content
Module

std/testing/bench.ts

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

Enums

Defines the states BenchmarkRunProgress can be in

Functions

f
bench
deprecated
f
clearBenchmarks
deprecated
f
runBenchmarks
deprecated

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.