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.
interface BenchmarkClearOptions
import { type BenchmarkClearOptions } from "https://deno.land/std@0.100.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