On one of my ktor projects, updating the ktor depe...
# compiler
m
On one of my ktor projects, updating the ktor dependency from 1.3.1 to 1.3.2 hugely increases the compile time. Normally
./gradlew classes
takes 40-50s from a clean workspace with ktor 1.3.1. I've been waiting 8 minutes so far on 1.3.2... Is this a known issue?
svg flame graph of the compiler from async profiler (
./profiler.sh -e itimer -f ~/kotlinc.svg -d 30 (pid)
)
This is with kotlin 1.3.71
20 min and counting; I think I'll stick with 1.3.1 for now...
w
For me such long builds were often a symptom of memory issues — the GC would be taking so much time it doesn’t allow task to finish. Did you try a clean daemon?
m
yes, that's with a clean daemon each time.
The profile shows the issue isn't GC; C++ stack traces would be dominant if that was happening
👍 1