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