Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9890eaa

Browse filesBrowse files
joyeecheungtargos
authored andcommitted
benchmark: fix worker startup benchmark
It previously called spawnProcess in spawnWorker, which was incorrect. PR-URL: #46680 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent aac5c28 commit 9890eaa
Copy full SHA for 9890eaa

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎benchmark/misc/startup.js‎

Copy file name to clipboardExpand all lines: benchmark/misc/startup.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.