Skip to content

Commit 20cf13d

Browse files
Use Gradle wrapper in client benchmark README
With this commit we use the Gradle wrapper in documentation examples for the client benchmarks instead of Gradle itself. Relates #35366
1 parent ca12de5 commit 20cf13d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/benchmark/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Steps to execute the benchmark
22

3-
1. Build `client-benchmark-noop-api-plugin` with `gradle :client:client-benchmark-noop-api-plugin:assemble`
4-
2. Install it on the target host with `bin/elasticsearch-plugin install file:///full/path/to/client-benchmark-noop-api-plugin.zip`
3+
1. Build `client-benchmark-noop-api-plugin` with `./gradlew :client:client-benchmark-noop-api-plugin:assemble`
4+
2. Install it on the target host with `bin/elasticsearch-plugin install file:///full/path/to/client-benchmark-noop-api-plugin.zip`.
55
3. Start Elasticsearch on the target host (ideally *not* on the machine
66
that runs the benchmarks)
77
4. Run the benchmark with
@@ -49,7 +49,7 @@ The parameters are all in the `'`s and are in order:
4949
Example invocation:
5050

5151
```
52-
gradlew -p client/benchmark run --args ' rest search localhost geonames {"query":{"match_phrase":{"name":"Sankt Georgen"}}} 500,1000,1100,1200'
52+
./gradlew -p client/benchmark run --args ' rest search localhost geonames {"query":{"match_phrase":{"name":"Sankt Georgen"}}} 500,1000,1100,1200'
5353
```
5454

5555
The parameters are in order:

0 commit comments

Comments
 (0)