Created
May 16, 2020 11:02
-
-
Save rsubtil/f30b07c89a4172598b3988ae348884a0 to your computer and use it in GitHub Desktop.
Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
min=100 | |
max=2000 | |
step=100 | |
executableName="./proj-asa" | |
for (( c=$min; c<=$max; c+=$step )) | |
do | |
echo "-----------------" | |
echo "Value: $c" | |
input=$(python vendor/testgen.py -n $c -N $c -m $c -M $c -c $(( $c/4 )) -C $(( $c/4 )) -s $(( $c/4 )) -S $(( $c/4 ))) | |
time echo $input | $executableName > /dev/null | |
done | |
echo "-----------------" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment