From 34a991a58f53694a42ad7eb1d933192752f8afab Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Wed, 15 Feb 2023 22:16:18 +0100 Subject: [PATCH] benchmark: fix worker startup benchmark It previously called spawnProcess in spawnWorker, which was incorrect. --- benchmark/misc/startup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/misc/startup.js b/benchmark/misc/startup.js index c2cf7f2de658be..07c0701d128899 100644 --- a/benchmark/misc/startup.js +++ b/benchmark/misc/startup.js @@ -49,7 +49,7 @@ function spawnWorker(script, bench, state) { bench.start(); } if (state.finished < state.count) { - spawnProcess(script, bench, state); + spawnWorker(script, bench, state); } else { bench.end(state.count); }