用于 Maven 构建的简单分析器。
The Tesla profiler is a simple EventSpy implementation that gathers timing information. It collects the time it takes to execute each mojo and gathers them within the phase they run. This was originally written to find a particular hotspot and it not formatted particularly well and definitely needs improvement.
To profile your build you need to install the profiling extension your Maven/Tesla distribution. Find the latest version in Maven Central and install it in the ${M2_HOME}/lib/ext directory,
or add it to .mvn/extensions.xml.
io.takari.maven
maven-profiler
1.1.0
To activate the profiling you need to enable the maven.profile system property:
mvn clean install -Dmaven.profileHere's an example of what the output will look like:
…暂无开放 Issues,或尚未同步最近议题。