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

extend-analyzehandler #2048

Merged
merged 1 commit into from
Oct 13, 2023
Merged

extend-analyzehandler #2048

merged 1 commit into from
Oct 13, 2023

Conversation

xueningl-az
Copy link
Contributor

@xueningl-az xueningl-az commented Oct 13, 2023

Add new interface for Solution Analyze.

Comment on lines +85 to +86
projectAnalysResult.SourceFileAnalysisResults.Sort(
(r1, r2) => string.Compare(r1.SourceFileName, r2.SourceFileName, StringComparison.OrdinalIgnoreCase));
Copy link
Contributor

Choose a reason for hiding this comment

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

There was a performance regression identified- do we need to sort here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

make compare between liteb and b more easy


projectAnalysResult.PackageAnalysisResults.ToList()
.ForEach(p =>
var sorted = projectAnalysResult.PackageAnalysisResults.OrderBy(c=>c.Key.PackageId).ToList();
Copy link
Contributor

Choose a reason for hiding this comment

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

There was a performance regression identified- do we need to sort here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i need to compare the result for packages in order. sorted will make it easier. but can revert it back

@xueningl-az xueningl-az merged commit 391d9ee into main Oct 13, 2023
@xueningl-az xueningl-az deleted the feat-extend-analyzehandler branch October 13, 2023 22:40
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.

3 participants