Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/merlin/deps.ts>pretty_benching.prettyBenchmarkProgress

Testing and Benchmarking framework for deno 🧙‍♂️
Latest
function pretty_benching.prettyBenchmarkProgress
import { pretty_benching } from "https://deno.land/x/merlin@v1.0.7/deps.ts";
const { prettyBenchmarkProgress } = pretty_benching;

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());

.