Skip to content
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

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

AR-May
Copy link
Member

@AR-May AR-May commented May 29, 2024

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

@AR-May AR-May marked this pull request as ready for review May 30, 2024 14:53
@AR-May
Copy link
Member Author

AR-May commented May 30, 2024

Perf numbers:

OC rebuild with analyzers with analyzers & fix without analyzers
median 91508 85445 79022
mean 97061 88541 81857

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.

@AR-May AR-May requested review from YuliiaKovalova and JanKrivanek and removed request for YuliiaKovalova May 31, 2024 11:19
Copy link
Member

@JanKrivanek JanKrivanek left a 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

@AR-May AR-May requested a review from JanKrivanek July 16, 2024 09:12
Copy link
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@AR-May AR-May requested a review from f-alizada July 19, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate the source of a big perf overhead when using analyzers on big solutions.
3 participants