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.
To active the profiling you need to enable the profile system property:
mvn clean install -Dmaven.profile
Here's an example of what the output will look like:
请发表评论