Currently Gradle has reasonable, conservative defaults. Using the default settings, my project takes 17 minutes to complete. By including -noverify it reduced to 14m26s, a 18% speedup. I don’t think that class verification should be required, as the security protection is not useful during a build. The proposal is that the common-case includes this setting, and users who require verification must change the jvmargs.
Benjamin_Manes (Ben Manes) #1
luke_daley (Luke Daley) #2
Interesting idea. Will raise with the other developers.
hansd (Hans Dockter) #3
we have significant performance improvements in the upcoming 2.4 release. I have two questions:
- We are very interested in the effect it has on your build. 1. I’m interested if your above modification has a similar effect with 2.4.
Any recent nightly should work: http://www.gradle.org/nightly/