Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmark/child_process/child-process-exec-stdout.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/benchmark/child_process/child-process-exec-stdout.js b/benchmark/child_process/child-process-exec-stdout.js
index 79efb6fadf2..6194f66b55d 100644
--- a/benchmark/child_process/child-process-exec-stdout.js
+++ b/benchmark/child_process/child-process-exec-stdout.js
@@ -1,7 +1,12 @@
'use strict';
const common = require('../common.js');
+
+var messagesLength = [64, 256, 1024, 4096];
+// Windows does not support that long arguments
+if (process.platform !== 'win32')
+ messagesLength.push(32768);
const bench = common.createBenchmark(main, {
- len: [64, 256, 1024, 4096, 32768],
+ len: messagesLength,
dur: [5]
});