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

Replace Yield with Delay to not hammer the CPU #6802

Merged
merged 2 commits into from
Aug 2, 2023
Merged

Conversation

ramonsmits
Copy link
Member

@ramonsmits ramonsmits commented Aug 2, 2023

The while loops don't contain a sleep to throttle the DONE check in the acceptance test runner which causes the CPU to spike.

By adding a Thread.Delay acceptance tests run without hammering the CPU and have pretty much the same test run duration.

The while loops don't contain a sleep to throttle the tests which causes the CPU to spike. 

By adding a Thread.Delay tests run without hammering the CPU and have pretty much the same test run duration.
@ramonsmits ramonsmits requested a review from DavidBoike August 2, 2023 18:30
@ramonsmits ramonsmits self-assigned this Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants