Skip to content

Commit

Permalink
Add minSamples on benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsup committed Dec 28, 2018
1 parent 7f7560e commit 9cdec92
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
2 changes: 2 additions & 0 deletions benchmarks/bench.js
Expand Up @@ -42,6 +42,8 @@ const formats = {
integer: D3.format(',')
};

Benchmark.options.minSamples = 100;

const Suite = new Benchmark.Suite('joi');

const test = ([name, initFn, testFn]) => {
Expand Down
20 changes: 10 additions & 10 deletions benchmarks/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion benchmarks/package.json
Expand Up @@ -11,6 +11,6 @@
"chalk": "^2.4.1",
"cli-table": "^0.3.1",
"d3-format": "^1.3.2",
"hoek": "^6.0.2"
"hoek": "^6.1.2"
}
}

0 comments on commit 9cdec92

Please sign in to comment.