Skip to content

Avoid loading analyzers during unload#58240

Merged
jasonmalinowski merged 1 commit intodotnet:mainfrom
jasonmalinowski:fix-perf-regression
Dec 10, 2021
Merged

Avoid loading analyzers during unload#58240
jasonmalinowski merged 1 commit intodotnet:mainfrom
jasonmalinowski:fix-perf-regression

Conversation

@jasonmalinowski
Copy link
Copy Markdown
Member

AnalyzerFileReferences won't actually load their assembly until needed; 359f24a fixed the fact we weren't disposing our type that produces AnalyzerFileReferences, but in the process that became another place we'd load the analyzers if they hadn't already been needed. We have some internal performance tests that actually never needed them until close, so this would trigger a load.

AnalyzerFileReferences won't actually load their assembly until needed;
359f24a fixed the fact we weren't
disposing our type that produces AnalyzerFileReferences, but in the
process that became another place we'd load the analyzers if they
hadn't already been needed. We have some internal performance tests
that actually never needed them until close, so this would trigger a
load.
@jasonmalinowski jasonmalinowski requested a review from a team as a code owner December 10, 2021 01:24
@ghost ghost added the Area-Analyzers label Dec 10, 2021
@jasonmalinowski
Copy link
Copy Markdown
Member Author

Merged without rerunning the flaky integration test leg; we had a private RPS run that confirms that this is fixing the regression so it's important to unblock that.

@Cosifne Cosifne modified the milestones: Next, 17.1.P3 Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants