From 9cdec92fa6c194fc6b931b5f6c2db9006fb24d2d Mon Sep 17 00:00:00 2001 From: Nicolas Morel Date: Sun, 9 Dec 2018 12:26:29 +0100 Subject: [PATCH] Add minSamples on benchmarks --- benchmarks/bench.js | 2 ++ benchmarks/package-lock.json | 20 ++++++++++---------- benchmarks/package.json | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/benchmarks/bench.js b/benchmarks/bench.js index 9e32eab72..e78792f23 100644 --- a/benchmarks/bench.js +++ b/benchmarks/bench.js @@ -42,6 +42,8 @@ const formats = { integer: D3.format(',') }; +Benchmark.options.minSamples = 100; + const Suite = new Benchmark.Suite('joi'); const test = ([name, initFn, testFn]) => { diff --git a/benchmarks/package-lock.json b/benchmarks/package-lock.json index 381babce4..b94231e3d 100644 --- a/benchmarks/package-lock.json +++ b/benchmarks/package-lock.json @@ -21,9 +21,9 @@ } }, "boom": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/boom/-/boom-7.2.2.tgz", - "integrity": "sha512-IFUbOa8PS7xqmhIjpeStwT3d09hGkNYQ6aj2iELSTxcVs2u0aKn1NzhkdUQSzsRg1FVkj3uit3I6mXQCBixw+A==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/boom/-/boom-7.3.0.tgz", + "integrity": "sha512-Swpoyi2t5+GhOEGw8rEsKvTxFLIDiiKoUc2gsoV6Lyr43LHBIzch3k2MvYUs8RTROrIkVJ3Al0TkaOGjnb+B6A==", "requires": { "hoek": "6.x.x" } @@ -71,7 +71,7 @@ }, "colors": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", + "resolved": "http://registry.npmjs.org/colors/-/colors-1.0.3.tgz", "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=" }, "d3-format": { @@ -90,9 +90,9 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "hoek": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-6.0.2.tgz", - "integrity": "sha512-0RGPLkyxpsMJVj/iOCaJaIWFEch988eUicJJpRiQ+Or1CMvBXcoZPlSx9FhreDWw4hxMYy8xgTEdlsYQDTnxWA==" + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/hoek/-/hoek-6.1.2.tgz", + "integrity": "sha512-6qhh/wahGYZHFSFw12tBbJw5fsAhhwrrG/y3Cs0YMTv2WzMnL0oLPnQJjv1QJvEfylRSOFuP+xCu+tdx0tD16Q==" }, "isemail": { "version": "3.2.0", @@ -103,9 +103,9 @@ } }, "joi": { - "version": "14.0.4", - "resolved": "https://registry.npmjs.org/joi/-/joi-14.0.4.tgz", - "integrity": "sha512-KUXRcinDUMMbtlOk7YLGHQvG73dLyf8bmgE+6sBTkdJbZpeGVGAlPXEHLiQBV7KinD/VLD5OA0EUgoTTfbRAJQ==", + "version": "14.3.0", + "resolved": "https://registry.npmjs.org/joi/-/joi-14.3.0.tgz", + "integrity": "sha512-0HKd1z8MWogez4GaU0LkY1FgW30vR2Kwy414GISfCU41OYgUC2GWpNe5amsvBZtDqPtt7DohykfOOMIw1Z5hvQ==", "requires": { "hoek": "6.x.x", "isemail": "3.x.x", diff --git a/benchmarks/package.json b/benchmarks/package.json index 0fe9ee580..f7184c713 100644 --- a/benchmarks/package.json +++ b/benchmarks/package.json @@ -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" } }