aboutsummaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2020-11-27 18:34:39 +0100
committerNode.js GitHub Bot <github-bot@iojs.org>2020-12-02 20:33:34 +0000
commit99f61677a99e115297953f236866149a11aa315b (patch)
tree3817aa63e23c7877decaf74bfecdb49e90159621 /benchmark
parent187a862d221dec42fa9a5c4214e7034d9092792f (diff)
downloadios-node-v8-99f61677a99e115297953f236866149a11aa315b.tar.gz
ios-node-v8-99f61677a99e115297953f236866149a11aa315b.tar.bz2
ios-node-v8-99f61677a99e115297953f236866149a11aa315b.zip
benchmark,child_process: remove failing benchmark parameter
A 16 MiB strings seems to be too large to be send to the parent process, making the whole benchmark throws. PR-URL: https://github.com/nodejs/node/pull/36295 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/child_process/child-process-read-ipc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/child_process/child-process-read-ipc.js b/benchmark/child_process/child-process-read-ipc.js
index 827f75b1e5..280505026c 100644
--- a/benchmark/child_process/child-process-read-ipc.js
+++ b/benchmark/child_process/child-process-read-ipc.js
@@ -13,7 +13,7 @@ if (process.argv[2] === 'child') {
const bench = common.createBenchmark(main, {
len: [
64, 256, 1024, 4096, 16384, 65536,
- 65536 << 4, 65536 << 8,
+ 65536 << 4, 65536 << 6 - 1,
],
dur: [5]
});