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

UtilityAnalyzer: EnableConcurrentExecution #6674

Open
martin-strecker-sonarsource opened this issue Jan 25, 2023 · 1 comment · May be fixed by #8459
Open

UtilityAnalyzer: EnableConcurrentExecution #6674

martin-strecker-sonarsource opened this issue Jan 25, 2023 · 1 comment · May be fixed by #8459
Labels
Area: C# C# rules related issues. Area: VB.NET VB.NET rules related issues. Type: Performance It takes too long.

Comments

@martin-strecker-sonarsource
Copy link
Contributor

We should EnableConcurrentExecution for the UtilityAnalyzer. See also
#6576 (comment)

Reasoning:

The file writes are protected by a lock already and the collection of the messages can be easily made thread-safe by using a concurrent stack instead of the list. The UtilityAnalyzer contribute a lot to the overall performance and running them concurrently next to the others should help with overall throughput.

Blocked by #6576

@pavel-mikula-sonarsource
Copy link
Contributor

As part of this card, we need to measure the impact before merging it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: C# C# rules related issues. Area: VB.NET VB.NET rules related issues. Type: Performance It takes too long.
Projects
None yet
4 participants