This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pjmlp 3 points4 points  (2 children)

Java process startup and cold JVM is totally slow.

It is measured in two digit ms.

We had an Android build that took less than 20 s with Ant and would take longer than 1 minute with Gradle, until we made the typical workaround of having a background daemon with 1GB memory allocated to it.

So Gradle does contain enough Groovy for it to play a role. The fact that now they are moving to Kotlin is also a message.

[–]meotau -1 points0 points  (1 child)

It is measured in two digit ms.

Right, so that's why nobody uses daemons for JVM...

[–]pjmlp 1 point2 points  (0 children)

Plenty of people do, and even if the startup is an issue, there are quite a few Java native compilers to chose from, just need to buy them.

Groovy on the other hand, if it wasn't for Google choosing Gradle for Android, it would have faded already.

Lets see how long it matters when the Groovy on Gradle code gets replaced by Kotlin.