Skip to content

Commit bf96630

Browse files
committed
Add run script to generate data and run benchmark
1 parent 99e8733 commit bf96630

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

benchmark/pathfinding/generate_benchmark_scripts.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22

33
# Define versions, sources, and scale factors
4-
versions=("operator")
5-
sources=(512 1024 2048 16384 32768 65536)
4+
versions=("operator" "udf")
5+
sources=(512 1024 2048 16384 32768 65536 131072)
66
scale_factors=(30 100 300)
7-
threads=(1)
7+
threads=(1 2 4 8)
88

99
# Loop over versions, sources, and scale factors
1010
for version in "${versions[@]}"; do

benchmark/pathfinding/run.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
set -eu
4+
set -o pipefail
5+
6+
cd "$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" >/dev/null 2>&1 && pwd )"
7+
8+
9+
./get-small-data.sh
10+
./generate_benchmark_scripts.sh
11+
cd ../../../
12+
BUILD_BENCHMARK=1 make GEN=ninja
13+
build/release/benchmark/benchmark_runner --disable-timeout "benchmark/pathfinding/benchmarks/.*" > output.timing 2>&1

0 commit comments

Comments
 (0)