Skip to main content
Module

x/pretty_benching/mod.ts>historyColumns

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

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; }