Profiling build performance of Eclipse Maven Java project

十年热恋 提交于 2019-12-25 04:13:41

问题


I'm using a modern version of Eclipse with few plug-ins on a powerful computer to build a rather small Maven-based Java project which also has one other Eclipse project as dependency. Nevertheless, the build times for this project are atrocious — to the point that I even had to disable automatic building for the project, which I've never done before. How can one profile the actual build process of an Eclipse project which uses Maven for building?

Environment

  • Windows 10 Pro 64-bit
  • Intel i7-6700 CPU @ 3.40 GHz
  • 8 GB RAM
  • Eclipse JEE Neon.1a Release (4.6.1), located on a traditional HDD
  • Maven runtime 3.3.9/1.7.0.20160603-1931 embedded in Eclipse
  • Java JDK 1.8.0_112 (64-bit), located on an SSD drive
  • The Eclipse projects in question are located on the same HDD as the IDE itself

Based on these specs, I see no excuse for such slow build times and so I'd like to be able to find the bottleneck responsible for them.


I haven't got control over the project which is a dependency, and unfortunately it hasn't (yet) been converted into to a proper Maven project... which also means I'm currently stuck building my project in Eclipse.

来源:https://stackoverflow.com/questions/41440007/profiling-build-performance-of-eclipse-maven-java-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!