Skip to content

Instantly share code, notes, and snippets.

@rsubtil
Created May 16, 2020 11:02
Show Gist options
  • Save rsubtil/f30b07c89a4172598b3988ae348884a0 to your computer and use it in GitHub Desktop.
Save rsubtil/f30b07c89a4172598b3988ae348884a0 to your computer and use it in GitHub Desktop.
Script
#!/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