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

Attempt running static analysis checks within the thread running the mutated code #194

Open
Ocramius opened this issue May 13, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Ocramius
Copy link
Member

Infection supports --threads or -j as parameter: when using this tool together with infection, you can clearly observe how the entire process halts when a mutant is found, and needs to be passed through vimeo/psalm for inspection.

This "stuttering" is because type checking is executed in the main thread, instead of in child threads.

If we manage to bootstrap and run psalm in child threads, we can speed up this process massively, although at the overhead of having to respawn the whole psalm stack at every executed test.

This is very much related to #3, perhaps mutually exclusive with that.

@Ocramius Ocramius added enhancement New feature or request help wanted Extra attention is needed labels May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant