Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Fix GVM analysis performance#3652

Merged
fadimounir merged 1 commit intodotnet:masterfrom
fadimounir:GVMPerf
May 18, 2017
Merged

Fix GVM analysis performance#3652
fadimounir merged 1 commit intodotnet:masterfrom
fadimounir:GVMPerf

Conversation

@fadimounir
Copy link

Fixing the processing of dynamic dependencies to not recompute already computed results (90% perf improvement on Release builds for the ASPNet benchmark app (22 mins to 2 mins total compile time)

Copy link
Member

@davidwrighton davidwrighton 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

{
_newDynamicDependenciesMayHaveAppeared = false;
foreach (DynamicDependencyNode dynamicNode in _markedNodesWithDynamicDependencies)
for(int i = 0; i < _markedNodesWithDynamicDependencies.Count; i++)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: missing space between 'for' and '('

Copy link
Author

Choose a reason for hiding this comment

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

Fixed

@sergiy-k
Copy link
Contributor

Thanks a lot!

…y computed results (90% perf improvement on Release builds for the ASPNet benchmark app (22 mins to 2 mins total compile time)
@fadimounir fadimounir merged commit 5965b5f into dotnet:master May 18, 2017
@fadimounir fadimounir deleted the GVMPerf branch May 18, 2017 23:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants