automatic benchmarkig (finally)

This commit is contained in:
Luca Lombardo
2022-03-12 18:36:53 +01:00
parent c3cc085163
commit c3a794f39b
+16
View File
@@ -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