From 20b45ece544edcc8f1dbb4f020b313b176808fee Mon Sep 17 00:00:00 2001 From: Tobias Tebbi Date: Tue, 7 Nov 2017 10:24:52 +0100 Subject: [PATCH] remove confidence intervals from runners --- src/bootstrap.js | 6 +----- src/cli.js | 6 +----- src/style.css | 6 +----- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/src/bootstrap.js b/src/bootstrap.js index 60089372..1426e957 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -103,11 +103,7 @@ suite.forEach(benchmark => { if (suite.aborted) return; displayResultMessage( benchmark.name, - `${benchmark.hz.toFixed( - 2 - )} ± ${benchmark.stats.rme.toFixed( - 2 - )}%`, + `${benchmark.hz.toFixed(2)}`, "result" ); const iterations = benchmark.stats.sample.length; diff --git a/src/cli.js b/src/cli.js index 07baf5a9..7fe384a1 100644 --- a/src/cli.js +++ b/src/cli.js @@ -26,11 +26,7 @@ suite.on("cycle", event => { const hz = benchmark.hz; const stats = benchmark.stats; console.log( - `${align(name, 14, "right")}: ${align( - hz.toFixed(2), - 5, - "right" - )} runs/sec ${align(`\xb1${stats.rme.toFixed(2)}%`, 7, "right")}` + `${align(name, 14, "right")}: ${align(hz.toFixed(2), 5, "right")} runs/sec` ); }); diff --git a/src/style.css b/src/style.css index 2de3265c..71e546ac 100644 --- a/src/style.css +++ b/src/style.css @@ -88,7 +88,7 @@ div#result-summary .score { color: rgb(19, 156, 7); } -div#result-summary .score .interval { +div#result-summary .score { display: block; font-size: 18px; line-height: 18px; @@ -102,10 +102,6 @@ div#version { color: darkgrey; } -.interval { - opacity: 0.75; -} - a:link, a:visited { color: rgb(19, 156, 7);