You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Joseph Freeman (JIRA)" <ji...@codehaus.org> on 2012/10/24 17:13:13 UTC

[jira] (MEAR-160) Performance regression while copying artifacts into ear

Joseph Freeman created MEAR-160:
-----------------------------------

             Summary: Performance regression while copying artifacts into ear
                 Key: MEAR-160
                 URL: https://jira.codehaus.org/browse/MEAR-160
             Project: Maven 2.x Ear Plugin
          Issue Type: Bug
    Affects Versions: 2.8
         Environment: Intel Core i3 : Arch Linux 64-bit : Kernel 3.6.2 : ext4 filesystem : JDK 7u9
            Reporter: Joseph Freeman


Just upgraded the maven ear plugin from 2.7 to 2.8 and it's now taking double the time to build my project. The time increase happens when my jars and war are being copied into the ear as unpacked artifacts. Packed artifacts are still just as fast as before

Time Comparisons:
v2.7:
 * unpacked => 24 seconds
 * packed   => 21 seconds
v2.8:
 * unpacked => 49 seconds
 * packed   => 20 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MEAR-160) Performance regression while copying artifacts into ear

Posted by "Joseph Freeman (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MEAR-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Freeman updated MEAR-160:
--------------------------------

    Attachment: test.zip

This sample was generated from a jboss maven archetype. I modified it by adding a bunch of test/fluff/Fluff.java files into the test-ejb and test-web modules. I think the problem doesn't surface until you get a sufficiently large set of classes like an enterprise app might be.

The timings for the sample are as follows:
2.7:
 unpacked => 29s
 packed   => 17s

2.8:
 unpacked => 1m 52s
 packed   => 17s

2.9-SNAPSHOT:
 unpacked => 1m 52s
 packed   => 17s


                
> Performance regression while copying artifacts into ear
> -------------------------------------------------------
>
>                 Key: MEAR-160
>                 URL: https://jira.codehaus.org/browse/MEAR-160
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Intel Core i3 : Arch Linux 64-bit : Kernel 3.6.2 : ext4 filesystem : JDK 7u9
>            Reporter: Joseph Freeman
>            Assignee: Olivier Lamy
>             Fix For: 2.9
>
>         Attachments: test.zip
>
>
> Just upgraded the maven ear plugin from 2.7 to 2.8 and it's now taking double the time to build my project. The time increase happens when my jars and war are being copied into the ear as unpacked artifacts. Packed artifacts are still just as fast as before
> Time Comparisons:
> v2.7:
>  * unpacked => 24 seconds
>  * packed   => 21 seconds
> v2.8:
>  * unpacked => 49 seconds
>  * packed   => 20 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MEAR-160) Performance regression while copying artifacts into ear

Posted by "Joseph Freeman (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MEAR-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312731#comment-312731 ] 

Joseph Freeman edited comment on MEAR-160 at 10/31/12 5:00 PM:
---------------------------------------------------------------

The test.zip sample I attached was generated from a jboss maven archetype. I modified it by adding a bunch of test/fluff/Fluff.java files into the test-ejb and test-web modules. I think the problem doesn't surface until you get a sufficiently large set of classes like an enterprise app might be.

The timings for the sample are as follows:
2.7:
 unpacked => 29s
 packed   => 17s

2.8:
 unpacked => 1m 52s
 packed   => 17s

2.9-SNAPSHOT:
 unpacked => 1m 52s
 packed   => 17s


                
      was (Author: jfree143dev):
    This sample was generated from a jboss maven archetype. I modified it by adding a bunch of test/fluff/Fluff.java files into the test-ejb and test-web modules. I think the problem doesn't surface until you get a sufficiently large set of classes like an enterprise app might be.

The timings for the sample are as follows:
2.7:
 unpacked => 29s
 packed   => 17s

2.8:
 unpacked => 1m 52s
 packed   => 17s

2.9-SNAPSHOT:
 unpacked => 1m 52s
 packed   => 17s


                  
> Performance regression while copying artifacts into ear
> -------------------------------------------------------
>
>                 Key: MEAR-160
>                 URL: https://jira.codehaus.org/browse/MEAR-160
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Intel Core i3 : Arch Linux 64-bit : Kernel 3.6.2 : ext4 filesystem : JDK 7u9
>            Reporter: Joseph Freeman
>            Assignee: Olivier Lamy
>             Fix For: 2.9
>
>         Attachments: test.zip
>
>
> Just upgraded the maven ear plugin from 2.7 to 2.8 and it's now taking double the time to build my project. The time increase happens when my jars and war are being copied into the ear as unpacked artifacts. Packed artifacts are still just as fast as before
> Time Comparisons:
> v2.7:
>  * unpacked => 24 seconds
>  * packed   => 21 seconds
> v2.8:
>  * unpacked => 49 seconds
>  * packed   => 20 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MEAR-160) Performance regression while copying artifacts into ear

Posted by "Joseph Freeman (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MEAR-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312694#comment-312694 ] 

Joseph Freeman commented on MEAR-160:
-------------------------------------

This didn't fix the issue. The problem is definitely in the plexus-archiver. Going from 1.0 to 2.1 caused the regression but 2.2 doesn't fix it.
                
> Performance regression while copying artifacts into ear
> -------------------------------------------------------
>
>                 Key: MEAR-160
>                 URL: https://jira.codehaus.org/browse/MEAR-160
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Intel Core i3 : Arch Linux 64-bit : Kernel 3.6.2 : ext4 filesystem : JDK 7u9
>            Reporter: Joseph Freeman
>            Assignee: Olivier Lamy
>             Fix For: 2.9
>
>
> Just upgraded the maven ear plugin from 2.7 to 2.8 and it's now taking double the time to build my project. The time increase happens when my jars and war are being copied into the ear as unpacked artifacts. Packed artifacts are still just as fast as before
> Time Comparisons:
> v2.7:
>  * unpacked => 24 seconds
>  * packed   => 21 seconds
> v2.8:
>  * unpacked => 49 seconds
>  * packed   => 20 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MEAR-160) Performance regression while copying artifacts into ear

Posted by "Joseph Freeman (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MEAR-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312719#comment-312719 ] 

Joseph Freeman commented on MEAR-160:
-------------------------------------

2.7:
 unpacked => 25s
 packed   => 21s

2.8:
 unpacked => 56s
 packed   => 21s

2.9-SNAPSHOT:
 unpacked => 54s
 packed   => 22s

I'm using JDK 7u9.

This structure is slow:
App.ear (packed)
 +--Web.war (unpacked)
 +--Ejb.jar (unpacked)

This structure is fast:
App.ear (packed)
 +--Web.war (packed)
 +--Ejb.jar (packed)

                
> Performance regression while copying artifacts into ear
> -------------------------------------------------------
>
>                 Key: MEAR-160
>                 URL: https://jira.codehaus.org/browse/MEAR-160
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Intel Core i3 : Arch Linux 64-bit : Kernel 3.6.2 : ext4 filesystem : JDK 7u9
>            Reporter: Joseph Freeman
>            Assignee: Olivier Lamy
>             Fix For: 2.9
>
>
> Just upgraded the maven ear plugin from 2.7 to 2.8 and it's now taking double the time to build my project. The time increase happens when my jars and war are being copied into the ear as unpacked artifacts. Packed artifacts are still just as fast as before
> Time Comparisons:
> v2.7:
>  * unpacked => 24 seconds
>  * packed   => 21 seconds
> v2.8:
>  * unpacked => 49 seconds
>  * packed   => 20 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MEAR-160) Performance regression while copying artifacts into ear

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MEAR-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy reopened MEAR-160:
-------------------------------

    
> Performance regression while copying artifacts into ear
> -------------------------------------------------------
>
>                 Key: MEAR-160
>                 URL: https://jira.codehaus.org/browse/MEAR-160
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Intel Core i3 : Arch Linux 64-bit : Kernel 3.6.2 : ext4 filesystem : JDK 7u9
>            Reporter: Joseph Freeman
>            Assignee: Olivier Lamy
>             Fix For: 2.9
>
>
> Just upgraded the maven ear plugin from 2.7 to 2.8 and it's now taking double the time to build my project. The time increase happens when my jars and war are being copied into the ear as unpacked artifacts. Packed artifacts are still just as fast as before
> Time Comparisons:
> v2.7:
>  * unpacked => 24 seconds
>  * packed   => 21 seconds
> v2.8:
>  * unpacked => 49 seconds
>  * packed   => 20 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MEAR-160) Performance regression while copying artifacts into ear

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MEAR-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312721#comment-312721 ] 

Olivier Lamy commented on MEAR-160:
-----------------------------------

any sample project you could provide ?
                
> Performance regression while copying artifacts into ear
> -------------------------------------------------------
>
>                 Key: MEAR-160
>                 URL: https://jira.codehaus.org/browse/MEAR-160
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Intel Core i3 : Arch Linux 64-bit : Kernel 3.6.2 : ext4 filesystem : JDK 7u9
>            Reporter: Joseph Freeman
>            Assignee: Olivier Lamy
>             Fix For: 2.9
>
>
> Just upgraded the maven ear plugin from 2.7 to 2.8 and it's now taking double the time to build my project. The time increase happens when my jars and war are being copied into the ear as unpacked artifacts. Packed artifacts are still just as fast as before
> Time Comparisons:
> v2.7:
>  * unpacked => 24 seconds
>  * packed   => 21 seconds
> v2.8:
>  * unpacked => 49 seconds
>  * packed   => 20 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MEAR-160) Performance regression while copying artifacts into ear

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MEAR-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312709#comment-312709 ] 

Olivier Lamy commented on MEAR-160:
-----------------------------------

Can you provide the figures ?
Because here I don't see really huge difference. (BTW will be faster with jdk 1.6+)
                
> Performance regression while copying artifacts into ear
> -------------------------------------------------------
>
>                 Key: MEAR-160
>                 URL: https://jira.codehaus.org/browse/MEAR-160
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Intel Core i3 : Arch Linux 64-bit : Kernel 3.6.2 : ext4 filesystem : JDK 7u9
>            Reporter: Joseph Freeman
>            Assignee: Olivier Lamy
>             Fix For: 2.9
>
>
> Just upgraded the maven ear plugin from 2.7 to 2.8 and it's now taking double the time to build my project. The time increase happens when my jars and war are being copied into the ear as unpacked artifacts. Packed artifacts are still just as fast as before
> Time Comparisons:
> v2.7:
>  * unpacked => 24 seconds
>  * packed   => 21 seconds
> v2.8:
>  * unpacked => 49 seconds
>  * packed   => 20 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MEAR-160) Performance regression while copying artifacts into ear

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MEAR-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312644#comment-312644 ] 

Olivier Lamy commented on MEAR-160:
-----------------------------------

can you try 2.9-SNAPSHOT ?
That must better.
                
> Performance regression while copying artifacts into ear
> -------------------------------------------------------
>
>                 Key: MEAR-160
>                 URL: https://jira.codehaus.org/browse/MEAR-160
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Intel Core i3 : Arch Linux 64-bit : Kernel 3.6.2 : ext4 filesystem : JDK 7u9
>            Reporter: Joseph Freeman
>             Fix For: 2.9
>
>
> Just upgraded the maven ear plugin from 2.7 to 2.8 and it's now taking double the time to build my project. The time increase happens when my jars and war are being copied into the ear as unpacked artifacts. Packed artifacts are still just as fast as before
> Time Comparisons:
> v2.7:
>  * unpacked => 24 seconds
>  * packed   => 21 seconds
> v2.8:
>  * unpacked => 49 seconds
>  * packed   => 20 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MEAR-160) Performance regression while copying artifacts into ear

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MEAR-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MEAR-160.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.9
         Assignee: Olivier Lamy
    
> Performance regression while copying artifacts into ear
> -------------------------------------------------------
>
>                 Key: MEAR-160
>                 URL: https://jira.codehaus.org/browse/MEAR-160
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Intel Core i3 : Arch Linux 64-bit : Kernel 3.6.2 : ext4 filesystem : JDK 7u9
>            Reporter: Joseph Freeman
>            Assignee: Olivier Lamy
>             Fix For: 2.9
>
>
> Just upgraded the maven ear plugin from 2.7 to 2.8 and it's now taking double the time to build my project. The time increase happens when my jars and war are being copied into the ear as unpacked artifacts. Packed artifacts are still just as fast as before
> Time Comparisons:
> v2.7:
>  * unpacked => 24 seconds
>  * packed   => 21 seconds
> v2.8:
>  * unpacked => 49 seconds
>  * packed   => 20 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira