755 B
755 B
Tesla2Csv
This converter-script is an addition to a maven profiler called "tesla-profiler". A version of the profiler can be found for example here:
- https://github.com/takari/maven-profiler
- https://mvnrepository.com/artifact/io.tesla.profile/tesla-profiler
- ...
To install the profiler, simply place the jar file inside $MVN_HOME/lib/ext
Then you can run the profiler and save the output to a file:
mvn clean install -Dmaven.profile > profile.log 2>&1
From the created output, extract the profiling section.
See profile.log for an example.
In order to convert the output to CSV, simply run the Perl script: ./convert.pl
At the moment there are no arguments, if you want to change the in- or output file, you have to edit the script.