Replies: 4 comments 4 replies
-
The first build will be extra-long as it fetches various dependencies. Subsequent should be faster. But yes, build times are looong. I probably should look into it again, it is one of more irritating parts in development. |
Beta Was this translation helpful? Give feedback.
-
I read on the Kotlin Slack channel this morning that in some cases, Kotlin build scripts can be slower than Groovy. People there said the difference was greater in situations that edit: I take it back, we are actually using buildSrc. So maybe this makes a difference. |
Beta Was this translation helpful? Give feedback.
-
My machine (Intel i7-7700, 16 GB RAM, built on HDD): A clean In Detail...
Note that
To find what takes so long, add |
Beta Was this translation helpful? Give feedback.
-
My machine: Intel i7-6700, 48 GB RAM 😅, built on NVMe SSD Command to build: I did a build which I didn't time, then did three builds, each with a clean beforehand.
Sooo, clearly there's a huge speedup for subsequent builds, even if they are clean. I'd guess a lot of things are being cached in my frankly excessive amount of ram, even though the build is ostensibly clean. edit: I can share the full details if you want, but the distribution in all cases pretty much mirrors what @westnordost posted. |
Beta Was this translation helpful? Give feedback.
-
Hi app-devs! I just installed the newest Android Studio on my workplace notebook, Intel Core i9 with 64 gig of memory and only M2 flash drives that runs circles around most of the other developer's machines here, and yet the very first Grade build of the Dev App took 12 minutes none the less...
Is this supposed to be by design? Am I missing an important multi thread setting in the Studio?
Input's welcome!
Kai
Beta Was this translation helpful? Give feedback.
All reactions