mirror of https://github.com/apache/kafka.git
MINOR: Build modules in parallel (#9975)
- According to https://docs.gradle.org/current/userguide/performance.html#parallel_execution, gradle executes builds serially by default. - With this change, the build performance is significantly better (~2x) on multi-core machines The time to run the following command went from 7m20s to 3m34s on one machine: `clean install assemble spotlessScalaCheck checkstyleMain checkstyleTest spotbugsMain` Reviewers: Ismael Juma <ismael@juma.me.uk>
This commit is contained in:
parent
550d8b8260
commit
61431f5b43
|
@ -24,3 +24,4 @@ version=2.8.0-SNAPSHOT
|
|||
scalaVersion=2.13.4
|
||||
task=build
|
||||
org.gradle.jvmargs=-Xmx2g -Xss4m -XX:+UseParallelGC
|
||||
org.gradle.parallel=true
|
||||
|
|
Loading…
Reference in New Issue