[ 
https://issues.apache.org/jira/browse/BEAM-4120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451350#comment-16451350
 ] 

Scott Wegner commented on BEAM-4120:
------------------------------------

It's unclear why the test execution time would be so much slower. Looking at a 
couple more recent runs, it seems the norm is much higher:
 * 
[#4622|https://builds.apache.org/job/beam_PreCommit_Java_GradleBuild/4622/testReport/org.apache.beam.sdk.io.hbase/HBaseIOTest/]:
 1m0s
 * 
[#4618|https://builds.apache.org/job/beam_PreCommit_Java_GradleBuild/4618/testReport/org.apache.beam.sdk.io.hbase/HBaseIOTest/]:
 54s
 * 
[#4616|https://builds.apache.org/job/beam_PreCommit_Java_GradleBuild/4616/testReport/org.apache.beam.sdk.io.hbase/HBaseIOTest/]:
 1m11s

It's also worth noting that the overall build is much faster:
 * 
[beam_PreCommit_Java_GradleBuild|https://builds.apache.org/job/beam_PreCommit_Java_GradleBuild/buildTimeTrend]:
 ~30 mins
 * 
[beam_PreCommit_Java_MavenInstall|https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/buildTimeTrend]:
 ~1h30 mins

For local development, the story is even better because gradle does a much 
better job of incremental build. So if you're working on an IO connector, 
Gradle should be smart enough to know to only rebuild the code which you are 
touching and not the entire SDK.

> Build times of IO tests with gradle take longer
> -----------------------------------------------
>
>                 Key: BEAM-4120
>                 URL: https://issues.apache.org/jira/browse/BEAM-4120
>             Project: Beam
>          Issue Type: Sub-task
>          Components: build-system
>            Reporter: Ismaël Mejía
>            Priority: Major
>
> HbaseIO used to take around 3 minutes to complete:
> https://builds.apache.org/me/my-views/view/all/job/beam_PreCommit_Java_MavenInstall/org.apache.beam$beam-sdks-java-io-hbase/19301/testReport/org.apache.beam.sdk.io.hbase/
> With the new gradle based build it takes now 8mins:
> https://builds.apache.org/job/beam_PreCommit_Java_GradleBuild/4325/testReport/org.apache.beam.sdk.io.hbase/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to