Skip to main content
Module

x/pretty_benching/mod.ts>BenchmarkHistoryItem

:sauropod: A small lib to make your Deno benchmarking progress and results look pretty
Latest
interface BenchmarkHistoryItem
import { type BenchmarkHistoryItem } from "https://deno.land/x/pretty_benching@v0.3.3/mod.ts";

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.