Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AlexGuteniev
Copy link
Contributor

Before this change the mismatch and lex compare test consumed more time than all other tests in vector algorithms test combined.

Done the following:

  • Reused lgk mismatch result in lgk lex compare
  • Reduced the number of random mismatches

Done the following:
 * Reused lgk mismatch result in lgk lex compare
 * Reduced the number of random mismatches
@AlexGuteniev AlexGuteniev requested a review from a team as a code owner May 5, 2024 13:22
@StephanTLavavej StephanTLavavej changed the title Reduce mismatch test run time Reduce mismatch test run time May 7, 2024
@StephanTLavavej StephanTLavavej added the test Related to test code label May 7, 2024
@StephanTLavavej StephanTLavavej self-assigned this May 7, 2024
@StephanTLavavej
Copy link
Member

Thanks! On my local machine, this results in a test speedup of 1.61x, very nice! 😻

@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit fcd6915 into microsoft:main May 20, 2024
@StephanTLavavej
Copy link
Member

Thanks for noticing and fixing how this test was wasting time! ⏱️ ⏳ 😻

@AlexGuteniev AlexGuteniev deleted the greedy_mismatch_test branch May 21, 2024 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Related to test code

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants