Skip to content

Commit 4be62fd

Browse files
authored
doc: Correct benchmark command (#15094)
-o takes a filepath not a folder
1 parent 532bd14 commit 4be62fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

benchmarks/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,13 @@ metadata (number of cores, DataFusion version, etc.).
195195
$ git checkout main
196196
# generate an output script in /tmp/output_main
197197
$ mkdir -p /tmp/output_main
198-
$ cargo run --release --bin tpch -- benchmark datafusion --iterations 5 --path ./data --format parquet -o /tmp/output_main
198+
$ cargo run --release --bin tpch -- benchmark datafusion --iterations 5 --path ./data --format parquet -o /tmp/output_main/tpch.json
199199
# generate an output script in /tmp/output_branch
200200
$ mkdir -p /tmp/output_branch
201201
$ git checkout my_branch
202-
$ cargo run --release --bin tpch -- benchmark datafusion --iterations 5 --path ./data --format parquet -o /tmp/output_branch
202+
$ cargo run --release --bin tpch -- benchmark datafusion --iterations 5 --path ./data --format parquet -o /tmp/output_branch/tpch.json
203203
# compare the results:
204-
./compare.py /tmp/output_main/tpch-summary--1679330119.json /tmp/output_branch/tpch-summary--1679328405.json
204+
./compare.py /tmp/output_main/tpch.json /tmp/output_branch/tpch.json
205205
```
206206

207207
This will produce output like:

0 commit comments

Comments
 (0)