mvn clean package
java -jar target/benchmarks.jar
Note: a path to indexed Linux project must be changed in LookupUtils#PATH_TO_LINUX_INDEX
.
# an example, change BENCHMARK_NAMES variable to include the tests you want to run
BENCHMARK_NAMES="cz.cuni.mff.benchmark.lookup.WFSTLookupBenchmark.nonPrefixLookup"
java -jar target/benchmarks.jar ${BENCHMARK_NAMES}
Add following arguments to java
invocation:
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
--add-exports java.base/sun.nio.ch=ALL-UNNAMED