File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,18 @@ versions=("operator")
55sources=(16384)
66scale_factors=(1 3 10 30 100 300)
77threads=(1 2 4 8)
8-
8+ partition_sizes=(65536 131072 262144 524288 1048576)
99# Loop over versions, sources, and scale factors
1010for version in " ${versions[@]} " ; do
1111 for source in " ${sources[@]} " ; do
1212 for scale in " ${scale_factors[@]} " ; do
1313 for thread in " ${threads[@]} " ; do
14+ for partition_size in " ${partition_sizes[@]} " ; do
15+ # Define the file name
16+ filename=" benchmarks/${version} _sf${scale} _src${source} _t${thread} _p${partition_size} .benchmark"
1417
15- # Define the file name
16- filename=" benchmarks/${version} _sf${scale} _src${source} _t${thread} .benchmark"
17-
18- # Write content to the file
19- cat << EOL > "$filename "
18+ # Write content to the file
19+ cat << EOL > "$filename "
2020# name: benchmark/pathfinding/${version} .benchmark
2121# description: Run ${version} Query For Pathfinding Benchmark
2222# group: [pathfinding]
@@ -26,9 +26,11 @@ QUERY_NAME=${version}
2626NUMBER_OF_SOURCES=${source}
2727SCALE_FACTOR=${scale}
2828THREADS=${thread}
29+ PARTITION_SIZE=${partition_size}
2930EOL
3031
3132 echo " Generated: $filename "
33+ done
3234 done
3335 done
3436 done
Original file line number Diff line number Diff line change @@ -18,5 +18,5 @@ create or replace table snb_pairs as (
1818 using sample reservoir(${NUMBER_OF_SOURCES} rows) repeatable (300)
1919);
2020set threads=${THREADS};
21-
21+ set experimental_path_finding_operator_partition_size=${PARTITION_SIZE};
2222run benchmark/pathfinding/queries/${QUERY_NAME}.sql
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" >/dev/null 2>&1 && pwd
88
99./get-small-data.sh
1010
11- find benchmarks/ f -not -name " .gitignore" -delete
11+ find benchmarks/ -type f -not -name " .gitignore" -delete
1212./generate_benchmark_scripts.sh
1313cd ../../../
1414BUILD_BENCHMARK=1 make GEN=ninja
You can’t perform that action at this time.
0 commit comments