Skip to content

Apache DataFusion SQL Query Engine

chore: benchmarks compare.py documentation fixes (#24505)

Adam Reeve16ec8e0c7946
diff --git a/benchmarks/README.md b/benchmarks/README.md
index f357ff4da5..489f2d485a 100644
--- a/benchmarks/README.md
+++ b/benchmarks/README.md
@@ -294,7 +294,7 @@ $ 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/tpch.json
# compare the results:
-./compare.py /tmp/output_main/tpch.json /tmp/output_branch/tpch.json
+uv run ./compare.py /tmp/output_main/tpch.json /tmp/output_branch/tpch.json
```
This will produce output like:
diff --git a/benchmarks/compare.py b/benchmarks/compare.py
index 9ad1de980a..0fb8f4598f 100755
--- a/benchmarks/compare.py
+++ b/benchmarks/compare.py
@@ -30,7 +30,7 @@ try:
from rich.console import Console
from rich.table import Table
except ImportError:
- print("Couldn't import modules -- run `./bench.sh venv` first")
+ print("Couldn't import modules -- run with uv (`uv run compare.py`)")
raise
@@ -258,7 +258,7 @@ def main() -> None:
"--noise-threshold",
type=float,
default=0.05,
- help="The threshold for statistically insignificant results (+/- %5).",
+ help="The threshold for statistically insignificant results (+/- 5%%).",
)
compare_parser.add_argument(
"--detailed",