Skip to content
Snippets Groups Projects
get-all-results-and-test.sh 619 B
Newer Older
gkusoglu's avatar
gkusoglu committed
#!/bin/bash
m1=`./build-and-getbest-run.sh $1 MEDIUM no no`
m2=`./build-and-getbest-run.sh $1_optimized MEDIUM no no`
if [[ $m2 -ge $m1 ]] ; then
    echo "Not modified is faster !"
    exit 1
fi
echo -n "$m2"

l1=`./build-and-getbest-run.sh $1 LARGE no no`
l2=`./build-and-getbest-run.sh $1_optimized LARGE no no`
if [[ $l2 -ge $l1 ]] ; then
    echo "Not modified is faster !"
    exit 1
fi
echo -n "$l2"

r=`./build-and-getbest-run.sh $1_optimized LARGE yes no`
if [[ $r -ge $l2 ]] ; then
    echo "Sequential is faster !"
    exit 1
fi
echo -n "$r"

./build-and-getbest-run.sh $1_optimized EXTRALARGE yes no
echo ""