From c3a794f39bb23b7acb8a767259ea3a0a867b9aeb Mon Sep 17 00:00:00 2001 From: Luca Lombardo Date: Sat, 12 Mar 2022 18:36:53 +0100 Subject: [PATCH] automatic benchmarkig (finally) --- scripts/movie_bench/bench_me.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 scripts/movie_bench/bench_me.sh diff --git a/scripts/movie_bench/bench_me.sh b/scripts/movie_bench/bench_me.sh new file mode 100755 index 0000000..5a30b16 --- /dev/null +++ b/scripts/movie_bench/bench_me.sh @@ -0,0 +1,16 @@ +#!/bin/bash +cd "$(dirname "$(realpath "$0")")" + +for votes in 500 1000 5000 10000 25000 50000 75000 100000 +do + echo "##### STARTING FILTERING FOR MIN_MOVIES=$votes #####" + cd ../../filters + ./movie_graph_filter.py --votes $votes + + echo "##### STARTING TOP-K CLOSENESS COMPUTATION FOR THE ACTORS GRAPH WITH MIN_MOVIES=$votes #####" + cd ../scripts/ + /usr/bin/time -o movie_bench/time/top_movies_${votes}_time.log ./movie_graph movie_bench/top_movies_${votes} + cd movie_bench + + # echo "##### DONE...\n #####" +done