JAL-2662 First benchmark running
[jalview.git] / benchmarking / README
1 To set up benchmarking:
2
3 1. In the jalview directory run 
4   ant makedist
5
6 This builds a jalview.jar file and puts it into dist/
7
8 2. Make a lib directory in benchmarking/ if not already present.
9
10 3. Run
11   mvn install:install-file -Dfile=../dist/jalview.jar -DgroupId=jalview.org -DartifactId=jalview -Dversion=1.0 -Dpackaging=jar -DlocalRepositoryPath=lib
12
13 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.
14
15 4. Build and run jmh benchmarking. In the benchmarking directory:
16   mvn clean install
17   java -jar target/benchmarks.jar
18