Extremely slow compilation (9min) for Kotlin/Wasm ...
# javascript
h
Extremely slow compilation (9min) for Kotlin/Wasm project on CI (10-core, 16GB, Kotlin 2.1.21) When compiling a Kotlin WebAssembly (Wasm) project on our CI machine, one task takes unusually long (~9 minutes). Here are the specs: • CI Machine: 10 CPU cores, 16GB RAM • Kotlin Version: 2.1.21 • nodeVersion = "20.9.0" • yarnVersion = "1.22.21" The slowdown seems disproportionate to the hardware. Has anyone encountered similar performance issues with Kotlin/Wasm builds?
r
It's probably not really slow Kotlin/Wasm compilation but the optimization with an external tool (binaryen). And yes, it takes a lot of time for larger projects.
👍 1
🙏 1
You should ask K/Wasm related questions on #CDFP59223 channel
h
thanks