To run:
- Install instrumentation project (
mvn install
in thebuild-instrumenter
directory), resulting jar goes to$INST_JAR_LOC
(e.g. /path/to/this/directory/build-instrumenter/target/BuildSystemProfiler-0.0.1-SNAPSHOT.jar) - Set environmental variable
JAVA_TOOL_OPTIONS="-javaagent:$INST_JAR_LOC -Xbootclasspath/p:$INST_JAR_LOC
- Run each build, collect output to file in
results/log.ant|mvn|gradle.txt
- In
results
runphp parseLogs.php
Results:
Time in msec | |||
---|---|---|---|
Time to start forked JVM | Time to run test | Time to tear down forked JVM | |
ant | 250.42 | 252.81 | 8.75 |
gradle | 394.91 | 253.12 | 16.9 |
mvn | 244.44 | 253.02 | 351.61 |