Skip to main content
Module

x/pretty_benching/pretty_benchmark_progress.ts>prettyBenchmarkProgress

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

Returns a function that expects BenchmarkRunProgress object, which than prints the benchmarking progress in a nicely formatted way, based on the provided options.

Typical basic usage:

// add benches, then
runBenchmarks({silent: true}, prettyBenchmarkProgress());

.