The new JavaScript IR compiler is taking significa...
# multiplatform
m
The new JavaScript IR compiler is taking significantly longer to compile than the LEGACY version on multiplatform projects. For example, on LEGACY, the compilation takes roughly 4-30 seconds depending on the changes made while on IR it nearly always takes 4+ minutes. Has anyone encountered this when upgrading recently? I see this bug report that seems to have received very little attention, but talks about this. I'm seeing much worse times personally. I've tried many different variations of configurations etc. but I just can't seem to figure this out. Here is my current build.gradle.kts gradle.properties:
Copy code
org.gradle.jvmargs=-Xmx8G
org.gradle.parallel=true
org.gradle.daemon=true
kotlin.incremental=true
kotlin.code.style=official
kotlin.js.compiler=ir
kotlin.js.generate.executable.default=false
kotlin.mpp.enableCompatibilityMetadataVariant=true
kotlin.internal.mpp.hierarchicalStructureByDefault=false
👍 1