-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBENCHMARK_2.sh
executable file
·47 lines (44 loc) · 938 Bytes
/
BENCHMARK_2.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash -x
# Modify the below paths to R to test, one on each line
ALLR=(
~/Projects/R/R-Array-Hash/bin/Rscript
~/Projects/R/optimized/R-3.2.2/bin/Rscript
)
#DATASETS=(
# DISTINCT.1mil
#)
DATASETS=(
SKEW.1mil
SKEW.2mil
SKEW.3mil
SKEW.4mil
SKEW.5mil
SKEW.6mil
SKEW.7mil
SKEW.8mil
DISTINCT.1mil
DISTINCT.2mil
DISTINCT.3mil
DISTINCT.4mil
DISTINCT.5mil
DISTINCT.6mil
DISTINCT.7mil
DISTINCT.8mil
)
RUNS=`seq 1 3`
OPTS='--vanilla --quiet'
RESULTS='results.csv'
rm -f $RESULTS error.log
for run in $RUNS; do
for dataset in ${DATASETS[*]}; do
#./construct_search $dataset >>$RESULTS
#./construct_search_cpp $dataset >>$RESULTS
#./construct_search.py $dataset >>$RESULTS
./construct_search.jl $dataset >>$RESULTS
#for progname in ${ALLR[*]}; do
# $progname $OPTS construct_search.R $dataset $progname \
# 1>>$RESULTS 2>>error.log
# echo '-----------------------' >> error.log
#done
done
done