Skip to content

Commit fe0ee6d

Browse files
committed
Add git commit to output, add todo about partitions
1 parent 7a4c0bc commit fe0ee6d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

benchmark/pathfinding/run.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,11 @@ rm benchmarks/*
1212
./generate_benchmark_scripts.sh
1313
cd ../../../
1414
BUILD_BENCHMARK=1 make GEN=ninja
15-
build/release/benchmark/benchmark_runner --disable-timeout "benchmark/pathfinding/benchmarks/.*" > output.timing 2>&1
15+
16+
COMMIT_HASH=$(git rev-parse --short HEAD)
17+
18+
# Define output file with commit hash and timestamp
19+
OUTPUT_FILE="output_${COMMIT_HASH}.timing"
20+
21+
# Run benchmark and save output
22+
build/release/benchmark/benchmark_runner --disable-timeout "benchmark/pathfinding/benchmarks/.*" > "$OUTPUT_FILE" 2>&1

0 commit comments

Comments
 (0)