Commit 9817e40
lib,src: replace all C++ promises with JS promises
C++ promises can not be properly optimized by V8. They also behave
a tiny bit different than "regular" promises.
PR-URL: #20830
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Backport-PR-URL: #21879
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>1 parent b98bf82 commit 9817e40Copy full SHA for 9817e40
File tree
Expand file treeCollapse file tree
7 files changed
+27
-123
lines changedOpen diff view settings
Filter options
- lib
- internal
- http2
- src
- test/parallel
Expand file treeCollapse file tree
7 files changed
+27
-123
lines changedOpen diff view settings
Collapse file
+10-13Lines changed: 10 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
26 | 26 | |
27 | 27 | |
28 | 28 | |
29 | | - |
30 | | - |
31 | 29 | |
32 | 30 | |
33 | 31 | |
| ||
152 | 150 | |
153 | 151 | |
154 | 152 | |
155 | | - |
156 | | - |
157 | | - |
158 | | - |
159 | | - |
160 | | - |
161 | | - |
162 | | - |
163 | | - |
164 | | - |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
165 | 163 | |
166 | | - |
167 | 164 | |
168 | 165 | |
169 | 166 | |
|
Collapse file
+1-4Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
207 | 207 | |
208 | 208 | |
209 | 209 | |
210 | | - |
211 | | - |
212 | | - |
213 | | - |
| 210 | + |
214 | 211 | |
215 | 212 | |
216 | 213 | |
|
Collapse file
+3-6Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
113 | 113 | |
114 | 114 | |
115 | 115 | |
116 | | - |
117 | 116 | |
118 | 117 | |
119 | 118 | |
| ||
2747 | 2746 | |
2748 | 2747 | |
2749 | 2748 | |
2750 | | - |
2751 | | - |
2752 | | - |
2753 | | - |
2754 | | - |
| 2749 | + |
| 2750 | + |
| 2751 | + |
2755 | 2752 | |
2756 | 2753 | |
2757 | 2754 | |
|
Collapse file
+7-13Lines changed: 7 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
12 | 11 | |
13 | | - |
14 | | - |
15 | 12 | |
16 | 13 | |
17 | 14 | |
| ||
276 | 273 | |
277 | 274 | |
278 | 275 | |
279 | | - |
280 | | - |
| 276 | + |
281 | 277 | |
282 | 278 | |
283 | | - |
284 | | - |
| 279 | + |
| 280 | + |
| 281 | + |
285 | 282 | |
286 | 283 | |
287 | 284 | |
288 | | - |
| 285 | + |
289 | 286 | |
290 | | - |
| 287 | + |
291 | 288 | |
292 | 289 | |
293 | | - |
294 | | - |
295 | | - |
296 | | - |
| 290 | + |
297 | 291 | |
298 | 292 | |
299 | 293 | |
|
Collapse file
+6-11Lines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
38 | 37 | |
39 | 38 | |
40 | 39 | |
| ||
407 | 406 | |
408 | 407 | |
409 | 408 | |
410 | | - |
411 | | - |
412 | | - |
413 | | - |
414 | | - |
| 409 | + |
| 410 | + |
| 411 | + |
415 | 412 | |
416 | 413 | |
417 | 414 | |
| ||
420 | 417 | |
421 | 418 | |
422 | 419 | |
423 | | - |
| 420 | + |
424 | 421 | |
425 | 422 | |
426 | 423 | |
| ||
691 | 688 | |
692 | 689 | |
693 | 690 | |
694 | | - |
| 691 | + |
695 | 692 | |
696 | 693 | |
697 | 694 | |
| ||
766 | 763 | |
767 | 764 | |
768 | 765 | |
769 | | - |
770 | | - |
771 | | - |
| 766 | + |
772 | 767 | |
773 | 768 | |
774 | 769 | |
|
Collapse file
-35Lines changed: 0 additions & 35 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | | - |
13 | 12 | |
14 | 13 | |
15 | 14 | |
| ||
127 | 126 | |
128 | 127 | |
129 | 128 | |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | | - |
151 | | - |
152 | | - |
153 | | - |
154 | | - |
155 | | - |
156 | | - |
157 | | - |
158 | | - |
159 | | - |
160 | 129 | |
161 | 130 | |
162 | 131 | |
| ||
211 | 180 | |
212 | 181 | |
213 | 182 | |
214 | | - |
215 | | - |
216 | | - |
217 | | - |
218 | 183 | |
219 | 184 | |
220 | 185 | |
|
Collapse file
test/parallel/test-promise-internal-creation.js
Copy file name to clipboardExpand all lines: test/parallel/test-promise-internal-creation.js-41Lines changed: 0 additions & 41 deletions
This file was deleted.
0 commit comments