to install the jalview.jar file in the local maven repository. The pom.xml in the benchmarking references this installation, so if you change the names the pom.xml file will also need to be updated.
to install the jalview.jar file in the local maven repository. The pom.xml in the benchmarking references this installation, so if you change the names the pom.xml file will also need to be updated.
-4. Build and run jmh benchmarking. In the benchmarking directory:
- mvn clean install
- java -jar target/benchmarks.jar
+5. Build and run jmh benchmarking. In the benchmarking directory:
+ mvn clean install
+ java -jar target/benchmarks.jar
+
+ To get JSON output instead use:
+ java -jar target/benchmarks.jar -rf json
- To get output as a json file use instead:
- java -jar target/benchmarks.jar -rf json
+ To run a specific benchmark file use:
+ java -jar target/benchmarks.jar <Benchmark class name>
- JSON files can be visualised using the viewer at http://jmh.morethan.io/
+ JSON output can be viewed quickly by drag-dropping on http://jmh.morethan.io/
To get help use the standard -h option:
java -jar target/benchmarks.jar -h
To get help use the standard -h option:
java -jar target/benchmarks.jar -h
@@ -33,8+40,5 @@ to install the jalview.jar file in the local maven repository. The pom.xml in th
http://java-performance.info/jmh/
http://java-performance.info/jmh/
- 5. If you make changes to the jalview code everything will need to be refreshed, by calling: