[jira] [Commented] (MNG-5811) Display the time of execution for each participant of the build

2019-05-10 Thread Rocher Suchard (JIRA)


[ 
https://issues.apache.org/jira/browse/MNG-5811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837637#comment-16837637
 ] 

Rocher Suchard commented on MNG-5811:
-

Hello,

I did try https://github.com/jcgay/maven-profiler and it works like a charm.

The report is in HTML, not in the terminal, but that probably for the best: I 
often clean my terminal or reuse it, loosing all that timing.

By the way, the author of this extension also made 
https://github.com/jcgay/maven-notifier : while I did not try it yet, it 
propose to send a notification when the build is done.

Thanks,
You may close this ticket (I don't have access to it).


> Display the time of execution for each participant of the build
> ---
>
> Key: MNG-5811
> URL: https://issues.apache.org/jira/browse/MNG-5811
> Project: Maven
>  Issue Type: Improvement
>  Components: General
>Affects Versions: 3.2.5, 3.3.1
>Reporter: Rocher Suchard
>Priority: Minor
>  Labels: features
>
> Hello,
> When working with projet with a lots of plugins bundled in different phase, 
> I'd find rather interesting to have the execution time of such plugin, like 
> you have the execution time of each project in a multi module project.
> The major use of such feature is to determine the plugins that takes too much 
> time in the build process and possibly to correct them.
> For an example of what I want, compare the two output :
> - default log (on any project, this is not relevant here) :
> {code}
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Application ... SUCCESS [  0.768 s]
> [INFO] apps-common ... SUCCESS [  3.649 s]
> [INFO] apps-template-plugin .. SUCCESS [  6.665 s]
> [INFO] apps-general .. SUCCESS [ 12.627 s]
> [INFO] apps-console .. SUCCESS [  0.384 s]
> [INFO] GUI Tools . SUCCESS [  1.059 s]
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 25.330 s
> [INFO] Finished at: 2015-04-27T22:46:54+02:00
> [INFO] Final Memory: 47M/613M
> [INFO] 
> 
> {code}
> - "enhanced" logs :
> {code}
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Application 
> ... SUCCESS [  0.768 
> s]
> [INFO] apps-common 
> ... SUCCESS [  3.649 
> s]
> [INFO] apps-template-plugin 
> .. SUCCESS [  6.665 s]
> [INFO] apps-general 
> .. SUCCESS [ 12.627 s]
> [INFO] apps-console 
> .. SUCCESS [  0.384 s]
> [INFO] GUI Tools 
> . SUCCESS [  
> 1.059 s]
> [INFO]  - maven-clean-plugin:2.6.1:clean   
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-resources-plugin:2.6:resources (default-resources) 
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-compiler-plugin:2.0.2:compile (default-compile)
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-resources-plugin:2.6:testResources (default-testResources) 
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-compiler-plugin:2.0.2:testCompile (default-testCompile)
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-surefire-plugin:2.12.4:test (default-test) 
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-jar-plugin:2.4:jar (default-jar)   
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-install-plugin:2.4:install (default-install)   
> ... SUCCESS [  1.000 s]
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 25.330 s
> [INFO] Finished at: 2015-04-27T22:46:54+02:00
> [INFO] Final Memory: 47M/613M
> [INFO] 
> 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MNG-5811) Display the time of execution for each participant of the build

2019-04-29 Thread Joseph Walton (JIRA)


[ 
https://issues.apache.org/jira/browse/MNG-5811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16829256#comment-16829256
 ] 

Joseph Walton commented on MNG-5811:


For access to these results, and control over the summaries, consider 
[{{maven-profiler}}|https://github.com/jcgay/maven-profiler] or the (other) 
https://github.com/takari/maven-profiler 
[{{maven-profiler}}|https://github.com/takari/maven-profiler].

> Display the time of execution for each participant of the build
> ---
>
> Key: MNG-5811
> URL: https://issues.apache.org/jira/browse/MNG-5811
> Project: Maven
>  Issue Type: Improvement
>  Components: General
>Affects Versions: 3.2.5, 3.3.1
>Reporter: Rocher Suchard
>Priority: Minor
>  Labels: features
>
> Hello,
> When working with projet with a lots of plugins bundled in different phase, 
> I'd find rather interesting to have the execution time of such plugin, like 
> you have the execution time of each project in a multi module project.
> The major use of such feature is to determine the plugins that takes too much 
> time in the build process and possibly to correct them.
> For an example of what I want, compare the two output :
> - default log (on any project, this is not relevant here) :
> {code}
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Application ... SUCCESS [  0.768 s]
> [INFO] apps-common ... SUCCESS [  3.649 s]
> [INFO] apps-template-plugin .. SUCCESS [  6.665 s]
> [INFO] apps-general .. SUCCESS [ 12.627 s]
> [INFO] apps-console .. SUCCESS [  0.384 s]
> [INFO] GUI Tools . SUCCESS [  1.059 s]
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 25.330 s
> [INFO] Finished at: 2015-04-27T22:46:54+02:00
> [INFO] Final Memory: 47M/613M
> [INFO] 
> 
> {code}
> - "enhanced" logs :
> {code}
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Application 
> ... SUCCESS [  0.768 
> s]
> [INFO] apps-common 
> ... SUCCESS [  3.649 
> s]
> [INFO] apps-template-plugin 
> .. SUCCESS [  6.665 s]
> [INFO] apps-general 
> .. SUCCESS [ 12.627 s]
> [INFO] apps-console 
> .. SUCCESS [  0.384 s]
> [INFO] GUI Tools 
> . SUCCESS [  
> 1.059 s]
> [INFO]  - maven-clean-plugin:2.6.1:clean   
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-resources-plugin:2.6:resources (default-resources) 
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-compiler-plugin:2.0.2:compile (default-compile)
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-resources-plugin:2.6:testResources (default-testResources) 
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-compiler-plugin:2.0.2:testCompile (default-testCompile)
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-surefire-plugin:2.12.4:test (default-test) 
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-jar-plugin:2.4:jar (default-jar)   
> ... SUCCESS [  1.000 s]
> [INFO]  - maven-install-plugin:2.4:install (default-install)   
> ... SUCCESS [  1.000 s]
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 25.330 s
> [INFO] Finished at: 2015-04-27T22:46:54+02:00
> [INFO] Final Memory: 47M/613M
> [INFO] 
> 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)