Repository navigation
Compare the soak test's lowest handle and thread counts - #79
Merged
Merged
Conversation
On Windows PowerShell 5.1 the runspace pool holds tens more handles each round and lets go of them all at once, 6 to 22 rounds apart, so comparing one round with another failed runs with no leak. Handles and threads are now compared by their lowest count in each half of the rounds after the warm-up, and the default is 60 rounds so each half takes in a drop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The soak test failed on Windows PowerShell 5.1 with no leak. There, the runspace pool holds tens more handles each round and lets go of them all at once, 6 to 22 rounds apart, so the count swings by hundreds while its low point stays put. A bare
RunspacePooldoing the same work without the kit behaves the same way. The test compared one round (the end of the warm-up) with the last, so it passed or failed depending on where in that cycle each landed.Handles and threads are now compared by their lowest count in each half of the rounds after the warm-up. The default goes from 40 to 60 rounds so each half (27 rounds) takes in at least one drop, and
-Roundsmust leave halves of at least 25. Managed memory is checked as before. The README line gives the new totals and time.Tested:
-Rounds 24stops with a clear message.No change to the kit or the harness.
🤖 Generated with Claude Code