Skip to content

Commit d7d634b

Browse files
joyeecheungdanielleadams
authored andcommitted
benchmark: fix worker startup benchmark
It previously called spawnProcess in spawnWorker, which was incorrect. PR-URL: #46680 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 3538521 commit d7d634b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/misc/startup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function spawnWorker(script, bench, state) {
4949
bench.start();
5050
}
5151
if (state.finished < state.count) {
52-
spawnProcess(script, bench, state);
52+
spawnWorker(script, bench, state);
5353
} else {
5454
bench.end(state.count);
5555
}

0 commit comments

Comments
 (0)