This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 4be62fddbb doc: Correct benchmark command (#15094)
4be62fddbb is described below
commit 4be62fddbb5c63c1430284121b9e2ad73945a622
Author: YuNing Chen <[email protected]>
AuthorDate: Sat Mar 8 19:50:08 2025 +0800
doc: Correct benchmark command (#15094)
-o takes a filepath not a folder
---
benchmarks/README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/benchmarks/README.md b/benchmarks/README.md
index 40d467b5bb..f17d6b5a07 100644
--- a/benchmarks/README.md
+++ b/benchmarks/README.md
@@ -195,13 +195,13 @@ metadata (number of cores, DataFusion version, etc.).
$ git checkout main
# generate an output script in /tmp/output_main
$ mkdir -p /tmp/output_main
-$ cargo run --release --bin tpch -- benchmark datafusion --iterations 5 --path
./data --format parquet -o /tmp/output_main
+$ cargo run --release --bin tpch -- benchmark datafusion --iterations 5 --path
./data --format parquet -o /tmp/output_main/tpch.json
# generate an output script in /tmp/output_branch
$ mkdir -p /tmp/output_branch
$ git checkout my_branch
-$ cargo run --release --bin tpch -- benchmark datafusion --iterations 5 --path
./data --format parquet -o /tmp/output_branch
+$ cargo run --release --bin tpch -- benchmark datafusion --iterations 5 --path
./data --format parquet -o /tmp/output_branch/tpch.json
# compare the results:
-./compare.py /tmp/output_main/tpch-summary--1679330119.json
/tmp/output_branch/tpch-summary--1679328405.json
+./compare.py /tmp/output_main/tpch.json /tmp/output_branch/tpch.json
```
This will produce output like:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]