-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make BuildCheckForwardingLogger filter the events #10186
Make BuildCheckForwardingLogger filter the events #10186
Conversation
Perf numbers:
It seems like there is a new perf regression since we have implemented the explicit logger forwarder in #10084. But this fix improves the situation a bit. |
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.
There should not be a need for forwarding all events in presence of custom analyzer
src/Build/BuildCheck/Infrastructure/BuildCheckForwardingLogger.cs
Outdated
Show resolved
Hide resolved
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.
Looks good
Fixes #10068
Context
Currently BuildCheckForwardingLogger does not filter out any of the events, which results in extra perf owerhead.
Changes Made
Made BuildCheckForwardingLogger filter out the events that are not used in BuildCheckConnectorLogger.
Testing
Unit tests & manual runs