You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/02/08 13:30:53 UTC

[GitHub] [kafka] ijuma opened a new pull request #11739: MINOR: Reduce scala compilation time by 15% via scalac backend parallelism

ijuma opened a new pull request #11739:
URL: https://github.com/apache/kafka/pull/11739


   Introduce `maxScalacThreads` and set the default to the lowest of `8`
   and the number of processors available to the JVM. The number `8` was
   picked empirically, the sweet spot is between 6 and 10.
   
   On my desktop, `./gradlew clean core:compileScala core:compileTestScala`
   improved from around 60s to 51s ( with this change.
   
   While at it, we improve the build output to include more useful
   information at the start: build id, max parallel forks, max scala
   threads and max test retries.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] ijuma merged pull request #11739: MINOR: Reduce cold scala compilation time by 15% via scalac backend parallelism

Posted by GitBox <gi...@apache.org>.
ijuma merged pull request #11739:
URL: https://github.com/apache/kafka/pull/11739


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org