import { prettyBenchmarkResult } from "https://deno.land/x/pretty_benching@v0.3.3/mod.ts";
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