You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Command to run on Linux with custom JAR: java -classpath multithreading.jar:checkstyle-10.7.0-SNAPSHOT-all.jar com.puppycrawl.tools.checkstyle.Main -c ...
Windows users probably have to swap : with ; in the classpath.
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: