From 9db6918bff9b2a84dbb378eed3d03875d07bc513 Mon Sep 17 00:00:00 2001 From: RunDevelopment Date: Sat, 14 Aug 2021 12:52:25 +0200 Subject: [PATCH] Added a little comment explaining moe --- benchmark/benchmark.js | 1 + 1 file changed, 1 insertion(+) diff --git a/benchmark/benchmark.js b/benchmark/benchmark.js index df103a1d05..ebbfac1a07 100644 --- a/benchmark/benchmark.js +++ b/benchmark/benchmark.js @@ -339,6 +339,7 @@ function getWorst(results) { const secondWorst = sorted[1].stats; // basically, it's only the best if the two means plus their moe are disjoint + // (moe = margin of error; https://benchmarkjs.com/docs#stats_moe) if (worst.mean - worst.moe - secondWorst.moe > secondWorst.mean) { return sorted[0]; }