Skip to main content
Module

x/collections/deps/std/testing/bench.ts>bench

Collection data structures that are not standard built-in objects in JavaScript. This includes a vector (double-ended queue), binary heap (priority queue), binary search tree, and a red black tree.
Go to Latest
function bench
import { bench } from "https://deno.land/x/collections@v0.10.1/deps/std/testing/bench.ts";

Registers a benchmark as a candidate for the runBenchmarks executor.

Parameters

benchmark: BenchmarkDefinition | BenchmarkFunction