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

Parallel Testing #486

Closed
lockwo opened this issue Aug 15, 2024 · 2 comments
Closed

Parallel Testing #486

lockwo opened this issue Aug 15, 2024 · 2 comments

Comments

@lockwo
Copy link
Contributor

lockwo commented Aug 15, 2024

The tests take a long time to run (hours), but each set of tests have no communication and can be parallelized. Using pytest parallelism you can pretty easily get near linear speedups from parallelism (via https://github.com/pytest-dev/pytest-xdist). I use it locally to help accelerate running the tests, and I think it could help accelerate the tests that run on PRs. Even the default runners 4 CPUs could be faster (and larger runners would increase this)

@patrick-kidger
Copy link
Owner

That sounds reasonable to me! I think you know the drill, happy to see a PR on this!

@lockwo
Copy link
Contributor Author

lockwo commented Aug 15, 2024

Looks like it's ooming, will probably only work w/ larger runners (#487).

@lockwo lockwo closed this as completed Aug 28, 2024
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

No branches or pull requests

2 participants