From f28eea089626467caac4810095446608b9f8d2bb Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 27 Nov 2020 18:34:39 +0100 Subject: [PATCH] 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 Reviewed-By: Luigi Pinca --- benchmark/child_process/child-process-read-ipc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/child_process/child-process-read-ipc.js b/benchmark/child_process/child-process-read-ipc.js index 827f75b1e54bd1..280505026cd02e 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] });