import { pretty_benching } from "https://deno.land/x/merlin@v1.0.7/deps.ts";
const { prettyBenchmarkHistory } = pretty_benching;
Calculates deltas
for given BenchmarkResult
for each provided property key.
Keys are either measuredRunsAvgMs
, totalMs
or point to number
properties of the calculated extras
.
Error is thrown, when a key points to a non number property.
No delta is calculated for key's which are not present in the extras
Returns false
when there is no history for the given benchmark.