Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Optimize Kotlin compiler context reuse #201

Open
bamboo opened this issue Dec 15, 2016 · 1 comment
Open

Optimize Kotlin compiler context reuse #201

bamboo opened this issue Dec 15, 2016 · 1 comment

Comments

@bamboo
Copy link
Member

bamboo commented Dec 15, 2016

The main bottleneck on first use of a multi-project build involving hundreds of projects is Kotlin compilation time.

The following tasks can be executed from a Gradle checkout to analyse the Kotlin compilation behaviour:

 $ ./gradlew ktsManyProjects
  ...
  Generating test project 'project99' into .../gradle/subprojects/performance/build/ktsManyProjects/project99
 $ cd subprojects/performance/build/ktsManyProjects
 $ ../../../../gradlew tasks --recompile-scripts
  ...
  BUILD SUCCESSFUL

  Total time: 37.239 secs
@bamboo
Copy link
Member Author

bamboo commented Dec 15, 2016

Hey @ligee, I'm assigning this one to you because of the conversation we had some time ago:

we’re trying to keep the context ourselves, so this is a good opportunity to see whether we are doing it correctly. I think we should start from analyzing the log.

Please let me know if you need changes to the code generation scripts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants