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

Vladimir Sitnikov commented on CALCITE-484:
-------------------------------------------

If you do not object, I exclude {{Calcite Ubenchmark}} from the list of modules 
in the root pom:
1) We have no performance assertions yet
2) Ubenchmark curently is a research-like module: it serves for the targeted 
measurements, not for generic build-to-build testing

Here's what I get by {{mvn install -o -DskipTests -Dcheckstyle.skip=true 
-Dsource.skip=true}}:
{noformat}
[INFO] Calcite ............................................ SUCCESS [  0.940 s]
[INFO] Calcite Avatica .................................... SUCCESS [  0.353 s]
[INFO] Calcite Avatica Server ............................. SUCCESS [  0.040 s]
[INFO] Calcite Linq4j ..................................... SUCCESS [  0.126 s]
[INFO] Calcite Core ....................................... SUCCESS [  0.563 s]
[INFO] Calcite Examples ................................... SUCCESS [  0.011 s]
[INFO] Calcite Example CSV ................................ SUCCESS [  0.031 s]
[INFO] Calcite MongoDB .................................... SUCCESS [  0.036 s]
[INFO] Calcite Plus ....................................... SUCCESS [  0.062 s]
[INFO] Calcite Spark ...................................... SUCCESS [  0.097 s]
[INFO] Calcite Splunk ..................................... SUCCESS [  0.028 s]
[INFO] Calcite Ubenchmark ................................. SUCCESS [  1.182 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.659 s
{noformat}

If I enable maven-source-plugin, then it takes 2 seconds per module:
{noformat}
mvn install -o -DskipTests -Dcheckstyle.skip=true

[INFO] Calcite ............................................ SUCCESS [  1.044 s]
[INFO] Calcite Avatica .................................... SUCCESS [  2.622 s]
[INFO] Calcite Avatica Server ............................. SUCCESS [  2.201 s]
[INFO] Calcite Linq4j ..................................... SUCCESS [  2.241 s]
[INFO] Calcite Core ....................................... SUCCESS [  2.913 s]
[INFO] Calcite Examples ................................... SUCCESS [  0.010 s]
[INFO] Calcite Example CSV ................................ SUCCESS [  2.407 s]
[INFO] Calcite MongoDB .................................... SUCCESS [  2.200 s]
[INFO] Calcite Plus ....................................... SUCCESS [  2.290 s]
[INFO] Calcite Spark ...................................... SUCCESS [  2.292 s]
[INFO] Calcite Splunk ..................................... SUCCESS [  2.311 s]
[INFO] Calcite Ubenchmark ................................. SUCCESS [  3.599 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.343 s{noformat}

Checkstyle takes 6-7 seconds:
{noformat}
mvn install -o -DskipTests -Dsource.skip=true
[INFO] Calcite ............................................ SUCCESS [  1.511 s]
[INFO] Calcite Avatica .................................... SUCCESS [  0.557 s]
[INFO] Calcite Avatica Server ............................. SUCCESS [  0.274 s]
[INFO] Calcite Linq4j ..................................... SUCCESS [  0.775 s]
[INFO] Calcite Core ....................................... SUCCESS [  3.289 s]
[INFO] Calcite Examples ................................... SUCCESS [  0.271 s]
[INFO] Calcite Example CSV ................................ SUCCESS [  0.265 s]
[INFO] Calcite MongoDB .................................... SUCCESS [  0.303 s]
[INFO] Calcite Plus ....................................... SUCCESS [  0.331 s]
[INFO] Calcite Spark ...................................... SUCCESS [  0.451 s]
[INFO] Calcite Splunk ..................................... SUCCESS [  0.259 s]
[INFO] Calcite Ubenchmark ................................. SUCCESS [  1.558 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.051 s
{noformat}

> Heal incremental maven compilation: each mvn install rebuilds the whole thing
> -----------------------------------------------------------------------------
>
>                 Key: CALCITE-484
>                 URL: https://issues.apache.org/jira/browse/CALCITE-484
>             Project: Calcite
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating
>            Reporter: Vladimir Sitnikov
>            Assignee: Julian Hyde
>              Labels: newbie
>
> Currently the jar files are rebuild even if the source files were not 
> modified.
> It would be nice to eliminate unnecessary work from the build.
> The list of bad plugins is:
> 1) maven-resources-plugin. It always regenerate files above files from
> velocity templates.
> 2) git.properties -- we might not need the exact build timestamp for dev 
> builds
> 3) generate-fmpp-sources -- seems to regenerate the same parser again and 
> again
> 4) hydromatic-resource-maven-plugin seems to regenerate the same
> runtime for each execution
> 5) org-apache-calcite-jdbc.properties includes build.timestamp
> If I "disable" those plugins, the subsequent builds take 6-7 seconds
> and the jars are not updated.
> Total time: 6.237 s
> Most time consuming are:
> 1.4s Calcite
> 1.2s Calcite Ubenchmark
> 0.9s Calcite Plus
> 0.8s Calcite Core
> 0.6s Calcite Spark
> http://mail-archives.apache.org/mod_mbox/incubator-calcite-dev/201411.mbox/%3CCAB%3DJe-FviBdTtSm%3D74vUSPrwQBESU4XsDpDtmGgJhS2rsp%2BdpA%40mail.gmail.com%3E
> http://mail-archives.apache.org/mod_mbox/incubator-calcite-dev/201411.mbox/%3CCAB=je-gqe83f3qhcofxniu8eq9yygos-jy4dscr-qmpuxxo...@mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to