Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/merlin/deps.ts>bench.BenchmarkDefinition

Testing and Benchmarking framework for deno 🧙‍♂️
Latest
interface bench.BenchmarkDefinition
import { type bench } from "https://deno.land/x/merlin@v1.0.7/deps.ts";
const { BenchmarkDefinition } = bench;

Defines a benchmark definition with configurable runs.

Properties

name: string
optional
runs: number

Defines how many times the provided func should be benchmarked in succession