Skip to main content
Module

x/pretty_benching/mod.ts>prettyBenchmarkResult

:sauropod: A small lib to make your Deno benchmarking progress and results look pretty
Latest
function prettyBenchmarkResult
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());

.