Skip to content

Commit 2bf2935

Browse files
dfa1claude
andcommitted
docs: add Running benchmarks section to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 37cb508 commit 2bf2935

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,23 @@ requiring it means no preview flags, no upgrade risk, and a supported LTS for us
186186
./mvnw verify
187187
```
188188

189+
## Running benchmarks
190+
191+
```bash
192+
# Build the benchmark fat jar
193+
./mvnw package -pl performance -am -DskipTests
194+
195+
# Run all benchmarks
196+
java -jar performance/target/benchmarks.jar
197+
198+
# Run a specific class
199+
java -jar performance/target/benchmarks.jar RustVsJavaReadBenchmark
200+
201+
# Run a specific method (recommended — always use ClassName.methodName)
202+
java -jar performance/target/benchmarks.jar RustVsJavaReadBenchmark.javaReadVolume
203+
java -jar performance/target/benchmarks.jar RustVsJavaWriteBenchmark.javaWrite
204+
```
205+
189206
## License
190207

191208
Apache 2.0

0 commit comments

Comments
 (0)