Repository navigation
Shorten the spill tests under Miri - #5
Merged
Merged
Conversation
The four spill tests took 280 to 570 seconds each in CI's Miri job, which brought the job to about 25 minutes on a good runner and past its 30-minute limit on a slower one (main timed out after both merges). Under Miri they now use 2 KiB blocks, whose bin holds 64, and the test of a heap that only frees uses the largest class that is reusable anywhere with two bursts instead of eight. The maintenance test stops feeding refills once the idle batches are back. Locally under Miri the four take 21 to 53 seconds, down from 125 to 165.
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 Miri job timed out on
mainafter both of the last two merges (run 43606927275). The four spill tests added in the performance round take 280 to 570 seconds each under Miri in CI. With them, the job took about 25 minutes on a good runner (1471 s of tests, against 748 s before the round) and went past its 30-minute limit on slower ones.Native runs are unchanged. With 64-byte blocks the four tests still cover a bin that has grown to its largest at 2048 blocks. I also checked the Miri sizes natively.
Locally under Miri, the four tests now take 21, 25, 36 and 53 seconds, down from 125 to 165 seconds each. The CI run on this PR will show the new job time.