Grant Henke has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/10074 )

Change subject: [java] Use gradle caching now that it is stable in 4.6
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/10074/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10074/1//COMMIT_MSG@7
PS1, Line 7: [java] Use gradle caching now that it is stable in 4.6
> BTW, how much build time does shave off? Can you measure twice: once exclud
It's hard to measure exactly. Gradle will prevent the rebuild of existing code 
today without this. What this speeds up is the case where you switch a branch 
and some of the modules changed and some didn't. Or you switch back to a branch 
you were just working on. Instead of rebuilding everything it can use past 
"outputs" of tasks given their "inputs" are the same, essentially only building 
exactly what is different or new and picking up where you left off.

Here are the times from 2 builds without tests that don't use the build cache, 
but also don't rebuild if not necessary.

gradle clean assemble --no-build-cache
BUILD SUCCESSFUL in 2m 2s
75 actionable tasks: 75 executed

gradle assemble --no-build-cache
BUILD SUCCESSFUL in 1s
68 actionable tasks: 68 up-to-date



--
To view, visit http://gerrit.cloudera.org:8080/10074
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibf5cc3c7a1263b085511c825118fb814e1b65008
Gerrit-Change-Number: 10074
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Comment-Date: Mon, 16 Apr 2018 19:07:07 +0000
Gerrit-HasComments: Yes

Reply via email to