Optimize indexed test suite performance - #5046
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Impact
The full Release test suite completes substantially faster without changing production behavior:
net8.0: 31m08s to 26m25s (15.2% faster)net9.0: 29m04s to 23m46s (18.2% faster)The test count decreases by nine because thirteen separately indexed cases are represented by three consolidated tests, with one new helper regression test added. The original behavioral cases and assertions remain covered.
Validation
net8.0andnet9.0: 0 warnings, 0 errorsnet8.0suite: 10,996 passed, 7 skipped, 0 failednet9.0suite: 10,537 passed, 405 skipped, 0 failedNo blocking/actionable issues found.Documentation and changelog
TESTING_GUIDE.mdFollow-up candidates
None identified.