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

Don't validate workspace invariants in release builds #53723

Merged

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