Skip to content

Some more error list performance improvements#47848

Merged
mavasani merged 5 commits intodotnet:masterfrom
mavasani:InitialLoadPerf
Sep 19, 2020
Merged

Some more error list performance improvements#47848
mavasani merged 5 commits intodotnet:masterfrom
mavasani:InitialLoadPerf

Conversation

@mavasani
Copy link
Contributor

  1. Make the error list build and live diagnostic de-duping cancellable: This ensures that repeated builds have fast error list refresh - currently, error list refresh for later builds will wait for all de-duping to complete for prior builds, just to throw away the computed results and re-refresh the error list.
  2. Link error list refresh operations to workspace's disposal token
  3. Eagerly initialize the saved project diagnostics from persistent storage after solution load to improve the error list refresh perf for the first build

1. Make the error list build and live diagnostic de-duping cancellable: This ensures that repeated builds have fast error list refresh - currently, error list refresh for later builds will wait for all de-duping to complete for prior builds, just to throw away the computed results and re-refresh the error list.
2. Link error list refresh operations to workspace's disposal token
3. Eagerly initialize the saved project diagnostics from persistent storage after solution load to improve the error list refresh perf for the first build
@mavasani mavasani added this to the 16.8.P4 milestone Sep 18, 2020
@mavasani mavasani requested review from a team and CyrusNajmabadi September 18, 2020 20:24
@ghost
Copy link

ghost commented Sep 18, 2020

Hello @mavasani!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Auto-approval

@mavasani mavasani merged commit eab244d into dotnet:master Sep 19, 2020
@ghost ghost modified the milestones: 16.8.P4, Next Sep 19, 2020
@mavasani mavasani deleted the InitialLoadPerf branch September 19, 2020 00:55
@dibarbet dibarbet modified the milestones: Next, 16.8.P4 Sep 21, 2020
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.

3 participants