ccaominh commented on issue #7866: Moving project to Gradle
URL: 
https://github.com/apache/incubator-druid/issues/7866#issuecomment-512060236
 
 
   My earlier measurements for maven were unfair as I have not converted most 
of the maven plugins to their gradle equivalents. The adjusted numbers for 
maven:
   - **Non-parallel:**`mvn install -DskipTests -Dcheckstyle.skip=true 
-Dforbiddenapis.skip=true -Dpmd.skip=true -Danimal.sniffer.skip=true 
-Denforcer.skip=true -Dspotbugs.skip=true `(3m 15s): 
https://scans.gradle.com/s/uetcuf7p57utq
   - **Parallel:**`mvn install -DskipTests -Dcheckstyle.skip=true 
-Dforbiddenapis.skip=true -Dpmd.skip=true -Danimal.sniffer.skip=true 
-Denforcer.skip=true -Dspotbugs.skip=true -T8` (1m 51s): 
https://scans.gradle.com/s/nbxz5xiwqtloa
   
   The build for `druid-console` takes 33-34 seconds (mostly front-end related 
compilation) and needs to be subtracted when comparing against gradle, as I 
have not translated that yet. After that is taken into account, **gradle 5.5 is 
2x faster than maven 3.6.1 for clean builds**.
   
   I was also able to fix the test runtime errors for gradle, but did not 
measure a significant difference in the test execution time between gradle and 
maven. **Probably the biggest performance advantage of using gradle over maven, 
is that gradle is very good at doing incremental builds.**

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to