-
Notifications
You must be signed in to change notification settings - Fork 128
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
diff.groovy: add multi thread support #762
Comments
I have started a test area for my multi-threading implementation and currently 2 additional threads reduces my run times almost in half (80 minutes) with regression showing no differences. Checkstyle MT Test Branch: checkstyle/checkstyle@master...rnveach:checkstyle:issue_138_rebase_slim Command to run on Linux with custom JAR: Current Regression Results: |
Let's not go to MT mode of checkstyle itself. Let's do it easier by execution of checkstyle in single thread and process, but have multiple threads of groovy to run each project in separate thread/process. MT in groovy. |
We need to add multi-threading support to diff.groovy for regression runs.
Right now, running a big config on 48 projects takes me about 150 minutes total. Regression only runs on a single thread currently, so most CPUs time is spent waiting as most computers have multiple cores these days.
This is blocked by checkstyle/checkstyle#4409 .
The text was updated successfully, but these errors were encountered: