Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function clearBenchmarks
Deprecated
Deprecated

(will be removed after 0.157.0) Use Deno.bench() instead. See: https://doc.deno.land/deno/unstable/~/Deno.bench for details.

import { clearBenchmarks } from "https://deno.land/std@0.156.0/testing/bench.ts";

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

Parameters

optional
unnamed 0: BenchmarkClearOptions = [UNSUPPORTED]