Skip to main content
Module

std/testing/bench.ts

Deno standard library
Go to Latest
Deprecated

(will be removed after 0.157.0) Use Deno.bench() instead.

import * as mod from "https://deno.land/std@0.157.0/testing/bench.ts";

Deprecated. Use Deno.bench() instead.

See: https://doc.deno.land/deno/unstable/~/Deno.bench for details.

Enums

Defines the states BenchmarkRunProgress can be in

Functions

f
bench
deprecated
f
clearBenchmarks
deprecated

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

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.