From e223597872a7e0a45cde54aa61b80a2948b115ae Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Tue, 23 Jul 2024 22:13:12 +0200 Subject: [PATCH] Update bench.js --- scripts/ci/bench.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/bench.js b/scripts/ci/bench.js index 3539a080c..71c3001c4 100644 --- a/scripts/ci/bench.js +++ b/scripts/ci/bench.js @@ -204,7 +204,7 @@ async function main() { const opsPerSec = allTimes.map(times => times.length / times.reduce((a, b) => a + b, 0)); const { mean, errorMargin, bestValue } = calculateConfidenceInterval(opsPerSec); - console.log(`Ops: ${mean.toFixed(1)} ± ${errorMargin.toFixed(1} ops/s. Best: ${bestValue.toFixed(1)} ops/s`); + console.log(`Ops: ${mean.toFixed(1)} ± ${errorMargin.toFixed(1)} ops/s. Best: ${bestValue.toFixed(1)} ops/s`); }