MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / formatDelta

Function formatDelta

scripts/bench-ci-compare.mjs:705–710  ·  view source on GitHub ↗
(delta, deltaPct)

Source from the content-addressed store, hash-verified

703}
704
705function formatDelta(delta, deltaPct) {
706 if (delta === null || delta === undefined) return "n/a";
707 const sign = delta >= 0 ? "+" : "";
708 const pct = formatPercent(deltaPct);
709 return `${sign}${Number(delta).toFixed(6)} (${pct})`;
710}
711
712function formatThreshold(threshold) {
713 if (!threshold) return "n/a";

Callers 2

markdownTableFunction · 0.85
printConsoleSummaryFunction · 0.85

Calls 1

formatPercentFunction · 0.85

Tested by

no test coverage detected