Uh oh!
There was an error while loading. Please reload this page.
[v18.x backport] src,lib: reducing C++ calls of esm legacy main resolve - #49644
[v18.x backport] src,lib: reducing C++ calls of esm legacy main resolve #49644H4ad wants to merge 5 commits into
Conversation
nodejs-github-bot
commented
Sep 14, 2023
Review requested:
|
H4ad
commented
Sep 14, 2023
I didn't know how backport works but this PR should be landed with #48664 since they contain fixes that were not detected in this initial PR. |
There was a problem hiding this comment.
Are you sure this is correct? href attribute of a URL always returns string.
There was a problem hiding this comment.
Yes, it always returns a string, but since I didn't know for sure if packageJSONUrl is a URL, in the old code we had validations but in this one I needed to make this validation explicit.
ef85828 to
490fc00Compare3a1addf to
4f095e1Comparenodejs-github-bot
commented
Oct 4, 2023
targos
commented
Nov 27, 2023
Hey, I'm sorry but a lot of commit landed on the staging branch since you opened this backport and now it has conflicts. |
Instead of many C++ calls, now we make only one C++ call to return a enum number that represents the selected state. Backport-PR-URL: nodejs#48325
H4ad
commented
Dec 2, 2023
4f095e1 to
2c8a182Comparetargos
commented
Dec 2, 2023
Yes it's ok! |
PR-URL: nodejs#48664 Refs: nodejs#48325 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Backport-PR-URL: nodejs#48664
H4ad
commented
Dec 3, 2023
@targos Done! |
@nodejs/lts / @nodejs/releasers Now that Node.js 18 is in maintenance I think the risks of this backport PR outweigh potential benefits. Thoughts? |
ruyadorno
commented
Jan 16, 2024
+1, I don't think we should be landing performance improvement backports in a maintenance release line |
H4ad
commented
Jan 16, 2024
I agree, this improvement helps but is not that significant that worth the risk. |
Backport of #48325