Permalink
Please
sign in to comment.
Browse files
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>
- Loading branch information...
Showing
with
27 additions
and 123 deletions.
- +10 −13 lib/child_process.js
- +1 −4 lib/fs.js
- +3 −6 lib/internal/http2/core.js
- +7 −13 lib/internal/util.js
- +6 −11 lib/timers.js
- +0 −35 src/node_util.cc
- +0 −41 test/parallel/test-promise-internal-creation.js
0 comments on commit
9817e40