Slow Kotlin build times

It’s unbearable, I have to spend waiting at least 30 seconds per ANY testcase.

5 Likes

I tested it today and do feel its slowness.

It seems to be a bad tool for large projects.

Kotlin is aware of the slowness problem. Its official website said keep updating to the latest version could help. But it is impractical to expect CG or CP to update languages in a “frequent” mode. Another suggestion by Kotlin is to retain cache between compiles. But in the VM environment there cannot be cache.

Better to use java directly.

1 Like

Agreed, I wonder if the compilation is repeated for each use case instead of once.
Quite unbearable indeed