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

Improve interprocedural analysis performance for DFA analyzers #2750

Open
mavasani opened this issue Aug 7, 2019 · 0 comments
Open

Improve interprocedural analysis performance for DFA analyzers #2750

mavasani opened this issue Aug 7, 2019 · 0 comments
Assignees
Labels
Bug The product is not behaving according to its current intended design Category-Performance DataFlow Interprocedural-DataFlow Interprocedural dataflow analysis Urgency-Soon
Milestone

Comments

@mavasani
Copy link
Member

mavasani commented Aug 7, 2019

Analyzer package

Example: Microsoft.CodeAnalysis.FxCopAnalyzers

Package Version

Example: v2.9.4 (Latest)

Diagnostic ID

Example: CA1716

Repro steps

  1. Enlist into https://github.com/w5wc/Thetis/tree/master/Project%20Files/Source
  2. Add an editorconfig file to both C# projects in the solution with entry dotnet_code_quality.CA2213.interprocedural_analysis_kind = ContextSensitive to turn on complete interprocedural analysis for the project

Expected behavior

Analyzes solution with reasonable performance characteristics

Actual behavior

Runs into OOM - see https://developercommunity.visualstudio.com/content/problem/672009/live-analysis-eats-up-memory-resulting-in-vs-crash.html?childToView=681646#comment-681646

@mavasani mavasani added Bug The product is not behaving according to its current intended design Urgency-Soon DataFlow Category-Performance Interprocedural-DataFlow Interprocedural dataflow analysis labels Aug 7, 2019
@mavasani mavasani added this to the vNext milestone Aug 7, 2019
@mavasani mavasani self-assigned this Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug The product is not behaving according to its current intended design Category-Performance DataFlow Interprocedural-DataFlow Interprocedural dataflow analysis Urgency-Soon
Projects
None yet
Development

No branches or pull requests

1 participant