Skip to content

Commit

Permalink
updated perf test shell script to use release profile
Browse files Browse the repository at this point in the history
  • Loading branch information
ruokun-niu committed Oct 28, 2024
1 parent 1dc368c commit 34ddf94
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 15 deletions.
15 changes: 0 additions & 15 deletions query-perf/run_perf_tests

This file was deleted.

24 changes: 24 additions & 0 deletions query-perf/run_perf_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash

# Define the output file
output_file="all_output_lto.txt"

# Clear the output file if it already exists
> "$output_file"

# Run each command and append its output to the output file
cargo run --release -- -s single_node_property_projection -e memory -r memory --seed 12345 >> "$output_file"
cargo run --release -- -s single_node_property_projection -e rocksdb -r rocksdb --seed 12345 >> "$output_file"
cargo run --release -- -s single_node_property_projection -e redis -r redis --seed 12345 >> "$output_file"

cargo run --release -- -s single_node_calculation_projection -e memory -r memory --seed 12345 >> "$output_file"
cargo run --release -- -s single_node_calculation_projection -e rocksdb -r rocksdb --seed 12345 >> "$output_file"
cargo run --release -- -s single_node_calculation_projection -e redis -r redis --seed 12345 >> "$output_file"

cargo run --release -- -s single_path_averaging_projection -e memory -r memory --seed 12345 >> "$output_file"
cargo run --release -- -s single_path_averaging_projection -e rocksdb -r rocksdb --seed 12345 >> "$output_file"
cargo run --release -- -s single_path_averaging_projection -e redis -r redis --seed 12345 >> "$output_file"

cargo run --release -- -s single_path_no_change_averaging_projection -e memory -r memory --seed 12345 >> "$output_file"
cargo run --release -- -s single_path_no_change_averaging_projection -e rocksdb -r rocksdb --seed 12345 >> "$output_file"
cargo run --release -- -s single_path_no_change_averaging_projection -e redis -r redis --seed 12345 >> "$output_file"

0 comments on commit 34ddf94

Please sign in to comment.