-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat: Optimize live bindings in export declarations (#18494) #19221
base: main
Are you sure you want to change the base?
feat: Optimize live bindings in export declarations (#18494) #19221
Conversation
- Optimized live bindings processing to reduce overhead. - Ensured correct hook calls and traversal logic. Fixes webpack#18494
); | ||
} | ||
break; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have perf numbers on this optimization?. I'm not aware that moving this from a switch makes a performance difference.
Could you please provide a cpuprofile where you identified the need for the change (in all)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
@bworline do you want to check over this also? |
@Vansh5632 please review the test failures and snapshot failures. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove unrelated changes and please provide perf benches
Optimized live bindings processing to reduce overhead
Fixes #18494
What kind of change does this PR introduce?
Did you add tests for your changes?
Does this PR introduce a breaking change?
What needs to be documented once your changes are merged?