Commit 37d49f3
process: optimize asyncHandledRejections by using FixedQueue
PR-URL: #60854
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>1 parent b39508b commit 37d49f3Copy full SHA for 37d49f3
2 files changed
+51-8Lines changed: 51 additions & 8 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- benchmark/process
- lib/internal/process
Expand file treeCollapse file tree
Open diff view settings
Collapse file
benchmark/process/handled-rejections.js
Copy file name to clipboard+43Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
Collapse file
lib/internal/process/promises.js
Copy file name to clipboardExpand all lines: lib/internal/process/promises.js+8-8Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | | - |
6 | 4 | |
7 | 5 | |
8 | 6 | |
9 | 7 | |
10 | 8 | |
11 | 9 | |
| 10 | + |
| 11 | + |
12 | 12 | |
13 | 13 | |
14 | 14 | |
| ||
142 | 142 | |
143 | 143 | |
144 | 144 | |
145 | | - |
| 145 | + |
146 | 146 | |
147 | | - |
| 147 | + |
148 | 148 | |
149 | 149 | |
150 | 150 | |
| ||
281 | 281 | |
282 | 282 | |
283 | 283 | |
284 | | - |
| 284 | + |
285 | 285 | |
286 | 286 | |
287 | 287 | |
| ||
437 | 437 | |
438 | 438 | |
439 | 439 | |
440 | | - |
| 440 | + |
441 | 441 | |
442 | | - |
443 | | - |
| 442 | + |
| 443 | + |
444 | 444 | |
445 | 445 | |
446 | 446 | |
|
0 commit comments