Tim McCormack
06/14/2021, 12:18 AMmvn test -Dtest="StateTest"
. I don't have the fastest computer, but I feel like this should take 30 seconds at most. Alternatively, is there some way I can do incremental compilation and/or testing? Anything to get the feedback loop down to seconds rather than minutes.Vampire
06/14/2021, 1:11 AMTim McCormack
06/14/2021, 2:07 AMVampire
06/14/2021, 2:10 AMTim McCormack
06/14/2021, 2:16 AMTim McCormack
06/14/2021, 2:17 AM<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
. And that gets a single test run (with a small code change) down to under 30 seconds.Tim McCormack
06/14/2021, 2:19 AMVampire
06/14/2021, 7:52 AM~/gradle.properties
or gradle.properties
. Though with that you loose many of the speed improvements, like reduced start up time, filesystem watching that remembers file states between builds, ...
The daemons should quit themselves if they see the system memory becoming low or after some time. If it isn't, you should report that so that it can eventually be fixed. Afair you can even configure the idle time after which the daemon is quit.
While the daemon is idle it should not really use the CPU either. Again, if it does, you should probably report that.
That I got build failures because of daemon usage is for me very long ago and usually was caused by some bug in some plugin that misbehaved like using static state without appropriate encapsulation.
But yeah, if you prefer Maven, stay with it, your beast to tame. :-)Tim McCormack
06/14/2021, 1:01 PM