jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Jackrabbit build time
Date Fri, 19 Dec 2008 13:49:37 GMT
Hi,

Based on a brief discussion with Angela, here's the current build
times (mvn clean install) I get with Jackrabbit trunk.

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Jackrabbit Parent POM ................................. SUCCESS [2.963s]
[INFO] Jackrabbit API ........................................ SUCCESS [2.910s]
[INFO] Jackrabbit JCR Commons ................................ SUCCESS [13.728s]
[INFO] Jackrabbit JCR Tests .................................. SUCCESS [3.288s]
[INFO] Jackrabbit JCR Benchmarks ............................. SUCCESS [0.962s]
[INFO] Jackrabbit SPI ........................................ SUCCESS [1.557s]
[INFO] Jackrabbit SPI Commons ................................ SUCCESS [10.335s]
[INFO] Jackrabbit Text Extractors ............................ SUCCESS [2.825s]
[INFO] Jackrabbit Core ....................................... SUCCESS
[1:49.405s]
[INFO] Jackrabbit JCR-RMI .................................... SUCCESS [11.074s]
[INFO] Jackrabbit JCR Servlets ............................... SUCCESS [1.372s]
[INFO] Jackrabbit WebDAV Library ............................. SUCCESS [4.782s]
[INFO] Jackrabbit JCR Server ................................. SUCCESS [3.843s]
[INFO] Jackrabbit Repository Classloader ..................... SUCCESS [4.298s]
[INFO] Jackrabbit Web Application ............................ SUCCESS [5.569s]
[INFO] Jackrabbit JCA Resource Adapter ....................... SUCCESS [8.888s]
[INFO] Jackrabbit JCR to SPI ................................. SUCCESS [8.008s]
[INFO] Jackrabbit SPI to JCR ................................. SUCCESS
[1:06.623s]
[INFO] Jackrabbit Standalone ................................. SUCCESS [31.581s]
[INFO] Jackrabbit Object Content Mapping ..................... SUCCESS [55.888s]
[INFO] Jackrabbit OCM Node management ........................ SUCCESS [8.630s]
[INFO] Apache Jackrabbit ..................................... SUCCESS [0.372s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 59 seconds
[INFO] Finished at: Fri Dec 19 14:37:49 CET 2008
[INFO] Final Memory: 92M/172M
[INFO] ------------------------------------------------------------------------

(Yeah, I use a desktop.)

Here's the result with tests disabled (mvn clean install
-Dmaven.test.skip=true):

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Jackrabbit Parent POM ................................. SUCCESS [2.955s]
[INFO] Jackrabbit API ........................................ SUCCESS [3.014s]
[INFO] Jackrabbit JCR Commons ................................ SUCCESS [2.563s]
[INFO] Jackrabbit JCR Tests .................................. SUCCESS [3.377s]
[INFO] Jackrabbit JCR Benchmarks ............................. SUCCESS [0.906s]
[INFO] Jackrabbit SPI ........................................ SUCCESS [1.186s]
[INFO] Jackrabbit SPI Commons ................................ SUCCESS [8.767s]
[INFO] Jackrabbit Text Extractors ............................ SUCCESS [1.075s]
[INFO] Jackrabbit Core ....................................... SUCCESS [7.996s]
[INFO] Jackrabbit JCR-RMI .................................... SUCCESS [3.779s]
[INFO] Jackrabbit JCR Servlets ............................... SUCCESS [1.083s]
[INFO] Jackrabbit WebDAV Library ............................. SUCCESS [2.465s]
[INFO] Jackrabbit JCR Server ................................. SUCCESS [2.209s]
[INFO] Jackrabbit Repository Classloader ..................... SUCCESS [1.142s]
[INFO] Jackrabbit Web Application ............................ SUCCESS [3.677s]
[INFO] Jackrabbit JCA Resource Adapter ....................... SUCCESS [2.944s]
[INFO] Jackrabbit JCR to SPI ................................. SUCCESS [3.904s]
[INFO] Jackrabbit SPI to JCR ................................. SUCCESS [1.376s]
[INFO] Jackrabbit Standalone ................................. SUCCESS [26.948s]
[INFO] Jackrabbit Object Content Mapping ..................... SUCCESS [3.568s]
[INFO] Jackrabbit OCM Node management ........................ SUCCESS [1.341s]
[INFO] Apache Jackrabbit ..................................... SUCCESS [0.298s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 27 seconds
[INFO] Finished at: Fri Dec 19 14:43:43 CET 2008
[INFO] Final Memory: 110M/197M
[INFO] ------------------------------------------------------------------------

Test times are dominated by core, spi2jcr and ocm, and build times by
standalone.

One way we could make the builds faster (IMHO it should always be
faster to build the project than to fix even a simple bug...) for
typical development is to define a set of profiles like "with-spi",
"with-ocm" and "with-standalone" that would be on by default, but that
you could disable in your local Maven settings if you're not working
on those components. We still have the Hudson build to flag any global
build failures.

The formation of the JCR Commons subproject should help the build
times somewhat. I'll also try to look at ways to speed up the
standalone build. It's mostly dependent on moving lots of bits around,
but perhaps there are some extra copies that we could avoid.

BR,

Jukka Zitting

Mime
View raw message