betterclever
07/01/2021, 5:08 PMrnett
07/02/2021, 12:27 AM-Dkotlin.compiler.execution.strategy="in-process"
and profile it (or the gradle task) like a standard JVM process, since it is one. Or perhaps attach a profiler to the daemon, you can pass JVM args like org.gradle.jvmargs=-Xmx8g -Dkotlin.daemon.jvm.options=-Xmx6g
scaventz
07/02/2021, 1:25 AM-Xreport-perf
report detailed performance statisticsbetterclever
07/02/2021, 6:51 AMdmitriy.novozhilov
07/02/2021, 7:43 AM-Dkotlin.daemon.jvm.options
3. Run all other gradle tasks without that arg (otherwise it will create new daemon for each run)
Example of options for opening debug port in daemon:
./gradlew -Dkotlin.daemon.jvm.options="-agentlib:jdwp=transport=dt_socket\\,server=y\\,suspend=n\\,address=5005" <task-to-execute>