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.prettyBenchmarkResult

Testing and Benchmarking framework for deno 🧙‍♂️
Latest
function pretty_benching.prettyBenchmarkResult
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());

.