Skip to content
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

Enable dumping KAPT processor performance stats #880

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pettermahlen
Copy link
Contributor

This enables passing the dumpProcessorStats flag to the KAPT invocation. Note that the official documentation uses the new name dumpProcessorTimings, which appears to be the name from version 1.8 onwards.

The kotlin.md table was auto-reformatted when I added the documentation - I thought that was a bit easier to read, but I'm happy to undo that change if you prefer the old version/making the change smaller.

@arunkumar9t2
Copy link
Contributor

A related change here which defines a kapt_options rule to collect all params for kapt.

@@ -198,6 +198,9 @@ internal fun JvmCompilationTask.runPlugins(
.plus(
kaptArgs(context, plugins, "stubsAndApt"),
)
.plus(
CompilationArgs(info.passthroughFlagsList),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little afraid of this one. Need to go look at the docs and make sure it can't get into arguments.

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

Successfully merging this pull request may close these issues.

None yet

3 participants