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 20060880ba Fix typo in bench.sh (#10698)
20060880ba is described below
commit 20060880ba939e6025930180ab2d5e3f8712975b
Author: VimT <[email protected]>
AuthorDate: Wed May 29 17:51:59 2024 +0800
Fix typo in bench.sh (#10698)
---
benchmarks/bench.sh | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/benchmarks/bench.sh b/benchmarks/bench.sh
index 088edc56df..49e65eafac 100755
--- a/benchmarks/bench.sh
+++ b/benchmarks/bench.sh
@@ -69,7 +69,7 @@ all(default): Data/Run/Compare for all benchmarks
tpch: TPCH inspired benchmark on Scale Factor (SF) 1 (~1GB),
single parquet file per table
tpch_mem: TPCH inspired benchmark on Scale Factor (SF) 1 (~1GB),
query from memory
tpch10: TPCH inspired benchmark on Scale Factor (SF) 10
(~10GB), single parquet file per table
-tpch10_mem: TPCH inspired benchmark on Scale Factor (SF) 10
(~10GB), query from memory
+tpch_mem10: TPCH inspired benchmark on Scale Factor (SF) 10
(~10GB), query from memory
parquet: Benchmark of parquet reader's filtering speed
sort: Benchmark of sorting speed
clickbench_1: ClickBench queries against a single parquet file
@@ -243,9 +243,7 @@ main() {
echo "Done"
;;
compare)
- BRANCH1=$1
- BRANCH2=$2
- compare_benchmarks
+ compare_benchmarks "$ARG2" "$ARG3"
;;
"")
usage
@@ -446,8 +444,8 @@ run_clickbench_extended() {
compare_benchmarks() {
BASE_RESULTS_DIR="${SCRIPT_DIR}/results"
- BRANCH1="${ARG2}"
- BRANCH2="${ARG3}"
+ BRANCH1="$1"
+ BRANCH2="$2"
if [ -z "$BRANCH1" ] ; then
echo "<branch1> not specified. Available branches:"
ls -1 "${BASE_RESULTS_DIR}"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]