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 BenchmarkRunOptions
import { type BenchmarkRunOptions } from "https://deno.land/std@0.72.0/testing/bench.ts";

Defines runBenchmark's run constraints by matching benchmark names.

Properties

optional
only: RegExp

Only benchmarks which name match this regexp will be run

optional
skip: RegExp

Benchmarks which name match this regexp will be skipped

optional
silent: boolean

Setting it to true prevents default benchmarking progress logs to the commandline