Commit 2f339e7
benchmark: cleanup child_process IPC benchmark
Squashed from:
- child_process: fix IPC bench to obey send() ret val
- child_process: fix IPC benchmark message has two more bytes
- child_process: use setImmediate for IPC bench
PR-URL: #10557
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent fc2db50 commit 2f339e7Copy full SHA for 2f339e7
File tree
Expand file treeCollapse file tree
1 file changed
+13
-8
lines changedOpen diff view settings
Filter options
- benchmark/child_process
Expand file treeCollapse file tree
1 file changed
+13
-8
lines changedOpen diff view settings
Collapse file
benchmark/child_process/child-process-read-ipc.js
Copy file name to clipboard+13-8Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
8 | 11 | |
9 | 12 | |
10 | 13 | |
11 | | - |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
12 | 18 | |
13 | 19 | |
14 | 20 | |
| ||
18 | 24 | |
19 | 25 | |
20 | 26 | |
21 | | - |
| 27 | + |
22 | 28 | |
23 | 29 | |
24 | 30 | |
| ||
29 | 35 | |
30 | 36 | |
31 | 37 | |
32 | | - |
33 | | - |
| 38 | + |
34 | 39 | |
35 | 40 | |
36 | 41 | |
0 commit comments