Skip to content

Don't validate workspace invariants in release builds#53723

Merged
jasonmalinowski merged 1 commit intodotnet:mainfrom
jasonmalinowski:check-invariants-in-debug-only
Jun 1, 2021
Merged

Don't validate workspace invariants in release builds#53723
jasonmalinowski merged 1 commit intodotnet:mainfrom
jasonmalinowski:check-invariants-in-debug-only

Conversation

@jasonmalinowski
Copy link
Member

This method appears in some performance traces when you have lots of workspace operations being done. The validations are useful but mostly would catch an error early during development, so there's no reason to run these except in DEBUG.

@jasonmalinowski jasonmalinowski requested a review from a team as a code owner May 27, 2021 19:43
@jasonmalinowski jasonmalinowski self-assigned this May 27, 2021
@ghost ghost added the Area-IDE label May 27, 2021
This method appears in some performance traces when you have lots of
workspace operations being done. The validations are useful but mostly
would catch an error early during development, so there's no reason to
run these except in DEBUG.
@jasonmalinowski jasonmalinowski force-pushed the check-invariants-in-debug-only branch from ae4ea26 to 1f902ca Compare May 28, 2021 00:09
@jasonmalinowski jasonmalinowski merged commit 0de95bb into dotnet:main Jun 1, 2021
@jasonmalinowski jasonmalinowski deleted the check-invariants-in-debug-only branch June 1, 2021 18:10
@ghost ghost added this to the Next milestone Jun 1, 2021
@RikkiGibson RikkiGibson modified the milestones: Next, 17.0.P2 Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants