Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function clearBenchmarks
Deprecated
Deprecated

Use Deno.bench() instead. See https://doc.deno.land/deno/unstable/~/Deno.bench for details.

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

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

Parameters

optional
unnamed 0: BenchmarkClearOptions = [UNSUPPORTED]