You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jeff Black (JIRA)" <ji...@codehaus.org> on 2013/07/01 20:35:05 UTC
[jira] (MWAR-280) Big performance hit in overlay
[ https://jira.codehaus.org/browse/MWAR-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=327740#comment-327740 ]
Jeff Black commented on MWAR-280:
---------------------------------
I tested with 2.4-SNAP, and got comparable build times, but I was unable to duplicate the original issue with version 2.2. I would be interested to know if other can still duplicate this issue.
War project with one overlay, goals: clean install:
Maven 3.0.5
- war plugin 2.1.1, build time 54s avg.
- war plugin 2.2, build time 58s avg.
- war plugin 2.4-SNAP, build time 40s avg.
Maven 2.2.1
- war plugin 2.1.1, build time 54s avg.
- war plugin 2.2, build time 54s avg.
- war plugin 2.4-SNAP, build time 52s avg.
> Big performance hit in overlay
> ------------------------------
>
> Key: MWAR-280
> URL: https://jira.codehaus.org/browse/MWAR-280
> Project: Maven 2.x WAR Plugin
> Issue Type: Bug
> Components: overlay
> Affects Versions: 2.2
> Reporter: Simone Bordet
> Fix For: 2.4
>
>
> Here is the output of version 2.1.1 of the maven war plugin when overlaying org.cometd.javascript:cometd-javascript-dojo:
> {code}
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ tutorials-skeleton ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [tutorials-skeleton] in [/home/simon/opensource/cometd/tutorials-skeleton/target/tutorials-skeleton-1.0.0-SNAPSHOT]
> [INFO] Processing war project
> [INFO] Copying webapp resources [/home/simon/opensource/cometd/tutorials-skeleton/src/main/webapp]
> [INFO] Processing overlay [ id org.cometd.javascript:cometd-javascript-dojo]
> [INFO] Webapp assembled in [7026 msecs]
> {code}
> Note how it took 7026 ms.
> This is the output for the same project, but using version 2.2 of the maven war plugin:
> {code}
> [INFO] --- maven-war-plugin:2.2:war (default-war) @ tutorials-skeleton ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [tutorials-skeleton] in [/home/simon/opensource/cometd/tutorials-skeleton/target/tutorials-skeleton-1.0.0-SNAPSHOT]
> [INFO] Processing war project
> [INFO] Copying webapp resources [/home/simon/opensource/cometd/tutorials-skeleton/src/main/webapp]
> [INFO] Processing overlay [ id org.cometd.javascript:cometd-javascript-dojo]
> [INFO] Webapp assembled in [24151 msecs]
> {code}
> Note how it took 24151 ms, i.e. a 3-4 times performance hit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira