aboutsummaryrefslogtreecommitdiffstats
path: root/microbenchmark-template/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'microbenchmark-template/run.sh')
-rwxr-xr-xmicrobenchmark-template/run.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/microbenchmark-template/run.sh b/microbenchmark-template/run.sh
index 10d0c60f6b3..db9c373374d 100755
--- a/microbenchmark-template/run.sh
+++ b/microbenchmark-template/run.sh
@@ -1,4 +1,8 @@
#!/bin/sh
+# The command-line arguments can be used to list the benchmarks to be executed.
+# By default all benchmarks are executed.
+# Example: run.sh org.sonar.microbenchmark.SerializationBenchmark
+
mvn clean install
-java -jar target/microbenchmark.jar -i 5 -wi 5 -f 5
+java -jar target/microbenchmark.jar -i 5 -wi 5 -f 5 $*