From a97d7a3e35e8c6852169a0667af93fccee7adfb6 Mon Sep 17 00:00:00 2001 From: Dawid Weiss Date: Thu, 12 Oct 2023 20:30:58 +0200 Subject: [PATCH] Adding Benjamin's readme change #12663 --- lucene/benchmark-jmh/README.txt | 8 ++++++++ 1 file changed, 8 insertions(+) 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