Is it just me or is android studio really slow wit...
# compose
d
Is it just me or is android studio really slow with intellisense when working on a project with compose 😢
âž• 2
c
Android Studio is really slow when working with kotlin in general. Apparently they are fixing this with a new "frontend compiler" https://blog.jetbrains.com/kotlin/2020/08/kotlin-1-4-released-with-a-focus-on-quality-and-performance/
We’re actively working on a new frontend implementation, which will provide the biggest performance increase in the compiler pipeline. The frontend is the part of the compiler that parses the code, resolves names, performs type checking, and more, so it affects the IDE performance as well. A preview of it will be available in future releases, stay tuned!
r
It is super slow, on a compose project with about 700 lines of code it usually takes about 5 seconds for code completion to pop up
c
I have a project without compose and code completion sometimes takes 25+ seconds.
😮 1
j
cc @David Winer [G]
c
I already filed a bug with JB about it a while back (and even spoke to Andrey Breslav about it when I ran into him at kotlin conf). New kotlin frontend compiler is basically what I'm holding out for. it's horrendous. Maybe it's just due to my IDE setup (in terms of ram) is also bad? I submitted this bug in 2018 for more docs for guidance on where to allocate ram. 83 stars, but no progress (yet) https://issuetracker.google.com/issues/120953354
g
when I ran into him at kotlin conf
It was almost 2 years ago There are many related performance issues which were fixed If it 25 second delay, it’s defeinitely something wrong there and most probably it’s not related to FIR at all, but some other bug. Yeah FIR may make some operations a lot faster in IDE, but there is a bunch of other things which not directly handled by compiler, integration of IDE may have many problems itself, so if you have such issue you should report it Could you share your issue? Have you attached required information for such cases? https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems
d
On regular projects it's fine, but with compose projects, it gets really bad