Module

std/testing/bench.ts

Deno standard library
Go to Latest
interface BenchmarkRunOptions
import { type BenchmarkRunOptions } from "https://deno.land/std@0.146.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