Skip to content

Apache Lucene open-source search software

Adding Benjamin's readme change #12663

Dawid Weissa97d7a3e35e8
diff --git a/lucene/benchmark-jmh/README.txt b/lucene/benchmark-jmh/README.txt
index df0cc312d69..d3c6638eb2f 100644
--- a/lucene/benchmark-jmh/README.txt
+++ b/lucene/benchmark-jmh/README.txt
@@ -19,3 +19,11 @@ You can pass any JMH options to the above command, for example:
-l list available benchmarks
-lp list benchmarks that pass the filter and their parameters
regexp execute all benchmark containing regexp
+
+Here is an example running a single benchmark:
+
+java --module-path lucene\benchmark-jmh\build\benchmarks --module org.apache.lucene.benchmark.jmh org.apache.lucene.benchmark.jmh.BinaryCosineBenchmark.cosineDistanceNew
+
+Or running all of BinaryCosineBenchmark
+
+java --module-path lucene\benchmark-jmh\build\benchmarks --module org.apache.lucene.benchmark.jmh org.apache.lucene.benchmark.jmh.BinaryCosineBenchmark
\ No newline at end of file