Skip to content

Commit

Permalink
benchmarks: fixing paths in the run script
Browse files Browse the repository at this point in the history
Signed-off-by: Reto Achermann <[email protected]>
  • Loading branch information
achreto committed Aug 16, 2024
1 parent 0f0d438 commit df1e6b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def run_all():
run(bench, n_replicas, n_threads, reads_pct, run_id_num, mode)

combine_data_files()
subprocess.run('cp *.json *.png *.pdf *.pgf plot.py runs/%s' % run_id, shell=True, check=False)
subprocess.run('cp *.json runs/%s' % run_id, shell=True, check=False)

if __name__ == '__main__':
if len(sys.argv) > 1:
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/run_benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cp verified/data.json data-verified.json

echo "running ironsync comparison"
(cd ironsync && cargo bench)
cp ironsync-osdi2023/concurrency/node-replication/data.json data-ironsync.json
cp ironsync/ironsync-osdi2023/concurrency/node-replication/data.json data-ironsync.json

echo "ondemand" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

Expand Down

0 comments on commit df1e6b6

Please sign in to comment.