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

x/merlin/deps.ts>pretty_benching.BenchmarkHistoryItem

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

Represents the results of one runBenchmarks run.

Type Parameters

optional
T = unknown

The type that is calculated with benchExtras function and stored in each benchmarks' extras.

optional
K = unknown

The type that is calculated with runExtras function and stored in each runs' runExtras.

Properties

date: string

The date of the measurement

optional
id: string

User provided identifier for the run

optional
runExtras: K

The object calculated by runExtras function if provided in the options

benchmarks: { [key: string]: BenchmarkHistoryRunItem<T>; }

The individual benchmarks' results for the specific run.