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

Parallelized the running of tests using rayon. #600

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rasmus-kirk
Copy link
Contributor

This adds an unnecessary dependency, which is pretty bad for base, so we should either:

  • Feature-gate
  • Move this to cargo concordium (I prefer this)
  • Parallelize with native std functions
  • Remove

Purpose

Tests ought to be run in parallel, instead of sequentially.

In the same vein, we might also consider printing results incrementally, such that the end user sees each test finish, instead of seeing them all by the end. This would give more feedback about what tests take a long time to run and it would also allow the user to see smaller tests fail much faster. This is not implemented in this draft.

This adds an unnecessary dependency, which is pretty bad for base, so we
should either:

- Feature-gate
- Move this to cargo concordium (I prefer this)
- Parallelize with native std functions
- Remove
@rasmus-kirk rasmus-kirk self-assigned this Feb 25, 2025
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.

1 participant