Hi, I am trying to use Kotlin/JavaScript again after a few years.
Could anyone report how much time an edit-compile-run cycle typically takes for their application?
For the JavaScript part of the default Multiplatform project in IDEA, it takes ~5 seconds on my laptop.
I am using Kotlin 1.9.0 and the latest version of IDEA.
Is there a way to speed up the edit-compile-run cycle a bit?
b
Big Chungus
07/17/2023, 8:15 PM
Around 5s seems about right unfortunately. It's slowly getting better though and there's work undergoing now to enable per-file compilation (just like ts) which should unlock much better incremental build performance
👀 1
Big Chungus
07/17/2023, 8:17 PM
However, there are still bits you could optimise. For example, layout doesn't change that often and usually majority of UI work is tweaking css. For that the builds are just as fast as js if you have your styling in css or scss instead of in-code since it doesn't need to rebuild your kotlin code into js