aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-04-19 10:45:21 -0700
committerRich Trott <rtrott@gmail.com>2017-04-19 15:55:32 -0700
commit32f77ff8ce3b67ba14943738b28e6912b44a1454 (patch)
tree549a8c2eb1b9cead6d55bdd3e1f336c90856140d /test
parent3ae670275cf67622b820453364c7dc1c135e03c9 (diff)
downloadandroid-node-v8-32f77ff8ce3b67ba14943738b28e6912b44a1454.tar.gz
android-node-v8-32f77ff8ce3b67ba14943738b28e6912b44a1454.tar.bz2
android-node-v8-32f77ff8ce3b67ba14943738b28e6912b44a1454.zip
test: minimize time for child_process benchmark
test-benchmark-child-process sometimes times out on Windows in CI. Minimize the number of configurations that run so it will (hopefully) not time out anymore. Set dur=0. PR-URL: https://github.com/nodejs/node/pull/12518 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/sequential/test-benchmark-child-process.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/sequential/test-benchmark-child-process.js b/test/sequential/test-benchmark-child-process.js
index 4acad7d0f7..2314c89948 100644
--- a/test/sequential/test-benchmark-child-process.js
+++ b/test/sequential/test-benchmark-child-process.js
@@ -8,9 +8,11 @@ const path = require('path');
const runjs = path.join(__dirname, '..', '..', 'benchmark', 'run.js');
-const child = fork(runjs, ['--set', 'dur=0.1',
+const child = fork(runjs, ['--set', 'dur=0',
'--set', 'n=1',
'--set', 'len=1',
+ '--set', 'params=1',
+ '--set', 'methodName=execSync',
'child_process'],
{env: {NODEJS_BENCHMARK_ZERO_ALLOWED: 1}});
child.on('exit', (code, signal) => {