[ 
https://issues.jenkins-ci.org/browse/JENKINS-12938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Atwill updated JENKINS-12938:
-----------------------------------

    Description: 
The MavenFingerprinter MavenReporter should not run if fingerprinting the build 
is disabled.

---
Yesterday I attached YourKit to our Jenkins Maven-style build.  I was attached 
to the actual Maven3 builder and discovered that 36% of our build time is spent 
in MavenReporters we don't use.  We don't have fingerprinting turned on but the 
MavenFingerprinter report still runs and was particularly expensive.
---

I rebuilt the maven-plugin removing the @Extension from MavenArtifactArchiver, 
MavenFingerprinter and MavenMailer and improved our build time by 36%.  There's 
no good out-of-the-box way to do this with Jenkins.  I had little luck when 
dropping in a custom PluginStrategy to do this at runtime.



  was:
The MavenFingerprinter MavenReporter should not run if fingerprinting the build 
is disabled.
---
Yesterday I attached YourKit to our Jenkins Maven-style build.  I was attached 
to the actual Maven3 builder and discovered that 36% of our build time is spent 
in MavenReporters we don't use.  We don't have fingerprinting turned on but the 
MavenFingerprinter report still runs and was particularly expensive.
---

I rebuilt the maven-plugin removing the @Extension from MavenArtifactArchiver, 
MavenFingerprinter and MavenMailer and improved our build time by 36%.  



    
> MavenReporters always run, even if unneeded: MavenFingerprinter is slow
> -----------------------------------------------------------------------
>
>                 Key: JENKINS-12938
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12938
>             Project: Jenkins
>          Issue Type: Bug
>          Components: maven
>         Environment: Linux, separate master/slave. Slave launched via SSH. 
> Multi-minute, multi-module maven build.
>            Reporter: James Atwill
>              Labels: maven
>
> The MavenFingerprinter MavenReporter should not run if fingerprinting the 
> build is disabled.
> ---
> Yesterday I attached YourKit to our Jenkins Maven-style build.  I was 
> attached to the actual Maven3 builder and discovered that 36% of our build 
> time is spent in MavenReporters we don't use.  We don't have fingerprinting 
> turned on but the MavenFingerprinter report still runs and was particularly 
> expensive.
> ---
> I rebuilt the maven-plugin removing the @Extension from 
> MavenArtifactArchiver, MavenFingerprinter and MavenMailer and improved our 
> build time by 36%.  There's no good out-of-the-box way to do this with 
> Jenkins.  I had little luck when dropping in a custom PluginStrategy to do 
> this at runtime.

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

        

Reply via email to