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

ci: speed up loom tests #5709

Open
carllerche opened this issue May 22, 2023 · 0 comments
Open

ci: speed up loom tests #5709

carllerche opened this issue May 22, 2023 · 0 comments
Labels
A-ci Area: The continuous integration setup A-tokio Area: The main tokio crate C-feature-request Category: A feature request.

Comments

@carllerche
Copy link
Member

The thread pool loom tests can take 6 hours to run. This is hitting Github Action's upper bound (6 hours).

#5705 switched max preemptions to 1.

I'm not 100% sure what we can do to speed up the tests. At the very least, we could investigate using a rayon-based loom scheduler to add some concurrency. There also is the option of adding 1.5 max-preemption, which would be implemented by randomly picking 1 or 2 max preemptions per branch exploration.

@carllerche carllerche added A-tokio Area: The main tokio crate C-feature-request Category: A feature request. labels May 22, 2023
@Darksonn Darksonn added the A-ci Area: The continuous integration setup label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ci Area: The continuous integration setup A-tokio Area: The main tokio crate C-feature-request Category: A feature request.
Projects
None yet
Development

No branches or pull requests

2 participants