I have a several heavy benchmark classes annotated with @Benchmark. After bulding jar with benchmarks I can run all of them with following command
java -Xmx4G -jar benchmarks.jar -f 1 -wi 3 -i 10
How to specify benchmarks to run, if I don't want to run all of them?
When in doubt, ask for command line help. In fact, running the JAR with
-h
yields:So, supplying a regular expression as the filter helps.
This is the exact command: