std/testing/bench.ts

Deno standard library
Go to Latest
interface BenchmarkRunOptions
import { type BenchmarkRunOptions } from "https://deno.land/std@0.145.0/testing/bench.ts?s=BenchmarkRunOptions";

Defines runBenchmark's run constraints by matching benchmark names.

Properties

optional
only: RegExp
[src]

Only benchmarks which name match this regexp will be run

optional
skip: RegExp
[src]

Benchmarks which name match this regexp will be skipped

optional
silent: boolean
[src]

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