Carp/benchmarks.sh

14 lines
221 B
Bash
Raw Normal View History

2018-02-06 11:02:46 +03:00
#!/bin/bash
set -e; # will make the script stop if there are any errors
stack build;
stack install;
# Actual tests (using the test suite)
for f in ./bench/*.carp; do
echo $f
carp -x --optimize $f
echo
done