maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Bordet (JIRA)" <j...@codehaus.org>
Subject [jira] (MWAR-280) Big performance hit in overlay
Date Sun, 07 Jul 2013 10:12:05 GMT

    [ https://jira.codehaus.org/browse/MWAR-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=328123#comment-328123
] 

Simone Bordet  commented on MWAR-280:
-------------------------------------

Jeff, I am not sure what project you are actually building, but for me the problem is still
there.

For my project at https://github.com/cometd/cometd-tutorials-skeleton, after the initial build
I have a total build time of the project of less than 45 seconds in worst case, so I am not
sure what your 2:50 or so figures refer to.

In any case, the key part is not the total build time, but only the execution of the war plugin
that is severely hit by a factor of 3-4.

I just retested it and 2.2 and 2.3 are affected for me: a 3-4x penalty like reported initially.

Olivier, where I can find 2.4-SNAPSHOT ? Have you deployed it to some public repo I can use
?

For the record:

Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
Maven home: /home/simon/programs/maven
Java version: 1.7.0_25, vendor: Oracle Corporation
Java home: /home/simon/programs/jdk1.7.0_25/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.8.0-26-generic", arch: "amd64", family: "unix"

                
> 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 
>            Assignee: Olivier Lamy
>             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

Mime
View raw message