Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface BenchmarkClearOptions
import { type BenchmarkClearOptions } from "https://deno.land/std@0.145.0/testing/bench.ts";

Defines clearBenchmark's constraints by matching benchmark names.

Properties

optional
only: RegExp

Only benchmarks which name match this regexp will be removed

optional
skip: RegExp

Benchmarks which name match this regexp will be kept