Skip to content

Commit

Permalink
remove confidence intervals from runners
Browse files Browse the repository at this point in the history
  • Loading branch information
tebbi committed Nov 7, 2017
1 parent 6f7e181 commit 20b45ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
6 changes: 1 addition & 5 deletions src/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,7 @@ suite.forEach(benchmark => {
if (suite.aborted) return;
displayResultMessage(
benchmark.name,
`${benchmark.hz.toFixed(
2
)} <span class="interval">&plusmn; ${benchmark.stats.rme.toFixed(
2
)}%</span>`,
`${benchmark.hz.toFixed(2)}`,
"result"
);
const iterations = benchmark.stats.sample.length;
Expand Down
6 changes: 1 addition & 5 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
);
});

Expand Down
6 changes: 1 addition & 5 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -102,10 +102,6 @@ div#version {
color: darkgrey;
}

.interval {
opacity: 0.75;
}

a:link,
a:visited {
color: rgb(19, 156, 7);
Expand Down

0 comments on commit 20b45ec

Please sign in to comment.