Skip to main content
Module

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

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 runBenchmarks
import { runBenchmarks } from "https://deno.land/x/collections@v0.10.1/deps/std/testing/bench.ts";

Runs all registered and non-skipped benchmarks serially.

Parameters

optional
unnamed 0: BenchmarkRunOptions = [UNSUPPORTED]
optional
progressCb: (progress: BenchmarkRunProgress) => void | Promise<void>

Returns

Promise<BenchmarkRunResult>

results of the benchmarking