👋 I'm having reeeeeally slow composable preview rendering time in Android Studio. Between 30s if I'm lucky, up to 1min.
• Windows 10 (cpu 8 cores, 24GB RAM)
• Android Studio Arctic Fox 2020.3.1 Canary 2
• Android Gradle Plugin 7.0.0-alpha02
• Kotlin to 1.4.20
• Compose version to 1.0.0-alpha08.
I disabled my antivirus and added rules to exclude project files, but still no luck...
I'm previewing one composable at a time.
I tested few weeks ago on a MacBook, it was much much faster.
Performance might not be a major concern right now, but if someone has a clue on how to improve it a bit, I take it !
12/07/2020, 9:53 PM
Agreed- between Alpha 08 and AS 2020.3 something got super slow this week for the preview
I'll give the plugin a try and let you know. Thanks
12/08/2020, 6:47 PM
Oh no. My point was that the plugin on 0.68 and lower had an issue where it made everything slow. 😃
No need to add it I think
12/09/2020, 10:31 AM
😅 ahah ok. No I'm not using it.
I found that even an empty project is slow to show previews on Windows.
I don't know how to specifically monitor preview time (because I don't know if it uses gradle), but I recorded what's happening on my computer after creating a blank compose project.