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.historyColumns

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

Defines a column for each different runBenchmarks results in the history.

The title of the columns are the dates they were run or the id's of them if they are present.

Shows measuredRunsAvgMs by default, which can be changed in the options with key.

Type Parameters

optional
T = unknown

Parameters

optional
options: { key?: DeltaKey<T>; titleFormatter?: (dateString: string, id?: string) => string; }