You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Bernhard (JIRA)" <ji...@codehaus.org> on 2008/04/25 13:51:47 UTC

[jira] Created: (MNG-3547) Profiling patch to display times of individual project/goal executions.

Profiling patch to display times of individual project/goal executions.
-----------------------------------------------------------------------

                 Key: MNG-3547
                 URL: http://jira.codehaus.org/browse/MNG-3547
             Project: Maven 2
          Issue Type: Improvement
          Components: Performance
    Affects Versions: 2.0.9
         Environment: Maven 2.0.9
            Reporter: David Bernhard
            Priority: Minor
         Attachments: maven-profiler.patch

We have a maven project that takes about 10 minutes to build from the root pom. To analyze which parts of the build are the most time-intensive, I wrote a small profiling patch to maven 2.0.9.

Running "mvn --profile" outputs information for each project and each goal of a plugin. 

It would be nice to have such an option available by default in maven.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MNG-3547) Profiling patch to display times of individual project/goal executions.

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-3547.
------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 2.x)

> Profiling patch to display times of individual project/goal executions.
> -----------------------------------------------------------------------
>
>                 Key: MNG-3547
>                 URL: http://jira.codehaus.org/browse/MNG-3547
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Performance
>    Affects Versions: 2.0.9
>         Environment: Maven 2.0.9
>            Reporter: David Bernhard
>            Priority: Minor
>         Attachments: maven-profiler.patch
>
>
> We have a maven project that takes about 10 minutes to build from the root pom. To analyze which parts of the build are the most time-intensive, I wrote a small profiling patch to maven 2.0.9.
> Running "mvn --profile" outputs information for each project and each goal of a plugin. 
> It would be nice to have such an option available by default in maven.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3547) Profiling patch to display times of individual project/goal executions.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3547:
------------------------------

    Fix Version/s:     (was: 2.2.1)
                   2.x

> Profiling patch to display times of individual project/goal executions.
> -----------------------------------------------------------------------
>
>                 Key: MNG-3547
>                 URL: http://jira.codehaus.org/browse/MNG-3547
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Performance
>    Affects Versions: 2.0.9
>         Environment: Maven 2.0.9
>            Reporter: David Bernhard
>            Priority: Minor
>             Fix For: 2.x
>
>         Attachments: maven-profiler.patch
>
>
> We have a maven project that takes about 10 minutes to build from the root pom. To analyze which parts of the build are the most time-intensive, I wrote a small profiling patch to maven 2.0.9.
> Running "mvn --profile" outputs information for each project and each goal of a plugin. 
> It would be nice to have such an option available by default in maven.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MNG-3547) Profiling patch to display times of individual project/goal executions.

Posted by "Bastl (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MNG-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290699#comment-290699 ] 

Bastl commented on MNG-3547:
----------------------------

This is great stuff for me. I applied this to 2.2.1, and it is of great help. Is there still interest for the m2 line of development? Then I could polish and send the updated patch against whatever branch you like.
                
> Profiling patch to display times of individual project/goal executions.
> -----------------------------------------------------------------------
>
>                 Key: MNG-3547
>                 URL: https://jira.codehaus.org/browse/MNG-3547
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Performance
>    Affects Versions: 2.0.9
>         Environment: Maven 2.0.9
>            Reporter: David Bernhard
>            Priority: Minor
>         Attachments: maven-profiler.patch
>
>
> We have a maven project that takes about 10 minutes to build from the root pom. To analyze which parts of the build are the most time-intensive, I wrote a small profiling patch to maven 2.0.9.
> Running "mvn --profile" outputs information for each project and each goal of a plugin. 
> It would be nice to have such an option available by default in maven.

--
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] Updated: (MNG-3547) Profiling patch to display times of individual project/goal executions.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3547:
------------------------------

    Fix Version/s: 2.0.10

> Profiling patch to display times of individual project/goal executions.
> -----------------------------------------------------------------------
>
>                 Key: MNG-3547
>                 URL: http://jira.codehaus.org/browse/MNG-3547
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Performance
>    Affects Versions: 2.0.9
>         Environment: Maven 2.0.9
>            Reporter: David Bernhard
>            Priority: Minor
>             Fix For: 2.0.10
>
>         Attachments: maven-profiler.patch
>
>
> We have a maven project that takes about 10 minutes to build from the root pom. To analyze which parts of the build are the most time-intensive, I wrote a small profiling patch to maven 2.0.9.
> Running "mvn --profile" outputs information for each project and each goal of a plugin. 
> It would be nice to have such an option available by default in maven.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-3547) Profiling patch to display times of individual project/goal executions.

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204481#action_204481 ] 

Jason van Zyl commented on MNG-3547:
------------------------------------

We have the profiling framework in place for us. And you'll need to update your patch against trunk and reopen if you like.

> Profiling patch to display times of individual project/goal executions.
> -----------------------------------------------------------------------
>
>                 Key: MNG-3547
>                 URL: http://jira.codehaus.org/browse/MNG-3547
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Performance
>    Affects Versions: 2.0.9
>         Environment: Maven 2.0.9
>            Reporter: David Bernhard
>            Priority: Minor
>         Attachments: maven-profiler.patch
>
>
> We have a maven project that takes about 10 minutes to build from the root pom. To analyze which parts of the build are the most time-intensive, I wrote a small profiling patch to maven 2.0.9.
> Running "mvn --profile" outputs information for each project and each goal of a plugin. 
> It would be nice to have such an option available by default in maven.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-3547) Profiling patch to display times of individual project/goal executions.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167135#action_167135 ] 

Brett Porter commented on MNG-3547:
-----------------------------------

this is an interesting patch, but some comments:

- maybe it would be more readable to gather the goal/profile combos and print a summary at the end?
- is the Profile class all your own work? We cannot incorporate LGPL licensed code - it would need to be contributed as Apache License 2.0.

I'd be happy to help apply this if the latter at least can be addressed.

> Profiling patch to display times of individual project/goal executions.
> -----------------------------------------------------------------------
>
>                 Key: MNG-3547
>                 URL: http://jira.codehaus.org/browse/MNG-3547
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Performance
>    Affects Versions: 2.0.9
>         Environment: Maven 2.0.9
>            Reporter: David Bernhard
>            Priority: Minor
>             Fix For: 2.0.11
>
>         Attachments: maven-profiler.patch
>
>
> We have a maven project that takes about 10 minutes to build from the root pom. To analyze which parts of the build are the most time-intensive, I wrote a small profiling patch to maven 2.0.9.
> Running "mvn --profile" outputs information for each project and each goal of a plugin. 
> It would be nice to have such an option available by default in maven.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira