1
0

Add JMH run script

This commit is contained in:
2026-07-26 11:48:03 +00:00
parent 6cb4173397
commit ba9d698b9e

8
jmh/run.sh Normal file
View 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 "$@"