James Atwill created JENKINS-12938:
--------------------------------------
Summary: 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
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%.
--
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