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

Run mutants in parallel. #35

Merged
merged 9 commits into from
Jul 26, 2023
Merged

Run mutants in parallel. #35

merged 9 commits into from
Jul 26, 2023

Conversation

aoli-al
Copy link
Member

@aoli-al aoli-al commented Feb 11, 2022

This pr allows mu2 to run mutants in background threads. This implementation reduces the execution time of cmu.pasta.mu2.diff.DiffIT from 29.518 to 19.299s on my laptop.

To enable parallel running you may pass -Dmu2.PARALLEL=true. By default, mu2 will create the number of threads which equals to the number of logical cores you have.

Note that thread timeout is only enabled when you have parallel running enabled. But we can also move this out and make it independent.

@aoli-al aoli-al marked this pull request as ready for review February 11, 2022 15:47
@vasumv vasumv merged commit 0262676 into main Jul 26, 2023
@vasumv vasumv deleted the parallel branch July 26, 2023 00:53
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.

2 participants