Add JMH run script
This commit is contained in:
8
jmh/run.sh
Normal file
8
jmh/run.sh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Build and run the JMH benchmarks (the numbers worth defending).
|
||||||
|
# ./run.sh -> all benchmarks
|
||||||
|
# ./run.sh MaskedBench -> one class
|
||||||
|
set -euo pipefail
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
mvn -q -B clean package
|
||||||
|
java --add-modules jdk.incubator.vector -jar target/benchmarks.jar "$@"
|
||||||
Reference in New Issue
Block a user