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

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

Calculates the min, max, mean (as (max+min)/2) and median from the measuredRunsMs array.

Parameters

result: BenchmarkResult