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

Parallelize testing #64

Open
ZevEisenberg opened this issue Feb 11, 2019 · 1 comment
Open

Parallelize testing #64

ZevEisenberg opened this issue Feb 11, 2019 · 1 comment
Labels
chore Work to reduce technical debt and improve the health of Muter's codebase, release process, and DX performance Work which reduces the time or memory it takes for Muter to produce a report

Comments

@ZevEisenberg
Copy link
Collaborator

Muter should run tests in parallel to make the overall test run faster. Maybe we only do this if the testing scheme we are using has the "parallelize tests" option enabled, to make it opt-in. Care should be taken when collecting the results at the end to make sure it is done in a thread-safe way.

@SeanROlszewski
Copy link
Contributor

SeanROlszewski commented Feb 11, 2019

I love this suggestion, @ZevEisenberg.

I'm thinking there should be a spike to measure how much, if any, parallezing the tests improves performance. I have a concern that because xcodebuild handles multithreading, that there may not be a meaningful improvement, or that there may be a detriment to performance.

I'm having a hard time conceptualizing the performance impacts of a concurrency model for Muter because of how much it depends on other executables which ultimately determine its runtime, and because concurrency is also hard. 😞

A spike of this feature suggestion could be as simple as parallezing the application of mutation operators and the execution of the test suite under test. These changes should be instrumented to prove there is an actual performance improvement.

@SeanROlszewski SeanROlszewski removed this from To do in Work in progress May 26, 2019
@rakaramos rakaramos added chore Work to reduce technical debt and improve the health of Muter's codebase, release process, and DX performance Work which reduces the time or memory it takes for Muter to produce a report labels Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Work to reduce technical debt and improve the health of Muter's codebase, release process, and DX performance Work which reduces the time or memory it takes for Muter to produce a report
Projects
None yet
Development

No branches or pull requests

3 participants