Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/merlin/deps.ts>bench.BenchmarkResult

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

Defines the result of a single benchmark

Properties

name: string

The name of the benchmark

totalMs: number

The total time it took to run a given bechmark

runsCount: number

Times the benchmark was run in succession.

measuredRunsAvgMs: number

The average time of running the benchmark in milliseconds.

measuredRunsMs: number[]

The individual measurements in milliseconds it took to run the benchmark.