import { pretty_benching } from "https://deno.land/x/merlin@v1.0.7/deps.ts";
const { prettyBenchmarkResult } = pretty_benching;
Returns a function that expects a BenchmarkRunResult
, which than prints
the results in a nicely formatted way, based on the provided options
.
Typical basic usage:
// add benches, then
runBenchmarks().then(prettyBenchmarkResult());
.
Parameters
optional
options: prettyBenchmarkResultOptions