Slow on large codebase #155
Replies: 3 comments 2 replies
-
This seems like a great approach to limit the combinatoric explosion of possible mutation tests in large codebases. 👍 Is it straightforward to implement? E.g. I've been running
😅 |
Beta Was this translation helpful? Give feedback.
-
Hi Josh, Actually, I think the specific thing of testing only each mutant's own package was already fixed since 1.0.0. Maybe something is going wrong with this. Could you have a look at some of the files in The other package related thing to fix is to allow generating mutants for only one package at a time, although this can be approximated today by using I'd like to understand a bit more about the tree where you're seeing that long ETA. If you run If you have a machine with a good amount of RAM compared to how much the tests use and a lot of cores you could try |
Beta Was this translation helpful? Give feedback.
-
@sourcefrog Ah I see, thanks for clearing up my confusion. I see 7099 mutants having been generated, and running all our Rust tests takes ~400 s:
I'm currently attempting to run with
But maybe that's a pretty reasonable number given the size of the codebase and the intrinsic complexity of needing to run each test within a package once for every mutation within that package. Am I understanding correctly? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions