mirror of
https://github.com/ilyakooo0/roboservant.git
synced 2024-09-11 08:05:47 +03:00
11 lines
339 B
Bash
Executable File
11 lines
339 B
Bash
Executable File
lo=$1
|
|
hi=$2
|
|
|
|
for i in $(seq $lo 5 $hi); do
|
|
./genFile.sh $i > main.hs;
|
|
echo "sievedn: $i,";
|
|
/usr/bin/time -f "%e" stack ghc main.hs 2>&1;
|
|
# /usr/bin/time -f "%e" stack ghc -- -fomit-interface-pragmas main.hs 2>&1;
|
|
|
|
done | grep -v Compiling | grep -v Linking | awk '/,$/ { printf("%s", $0); next } 1' | sed 's/sievedn: //'
|