Commit 9747dc33 authored by Roman Alifanov's avatar Roman Alifanov

Add compilation step to benchmark, add .gitignore for compiled .sh

parent 890d457c
# Compiled scripts (generated by benchmark.sh)
estrlist_awk.sh
estrlist_noawk.sh
...@@ -5,12 +5,21 @@ ...@@ -5,12 +5,21 @@
set -euo pipefail set -euo pipefail
cd "$(dirname "$0")" cd "$(dirname "$0")"
ROOT_DIR="$(cd ../.. && pwd)"
echo "==========================================" echo "=========================================="
echo "ESTRLIST BENCHMARK" echo "ESTRLIST BENCHMARK"
echo "==========================================" echo "=========================================="
echo "" echo ""
# Compile ContenT versions
echo "Compiling ContenT versions..."
python3 "$ROOT_DIR/content" build estrlist.ct -o estrlist_awk.sh
python3 "$ROOT_DIR/content" build estrlist_noawk.ct -o estrlist_noawk.sh
chmod +x estrlist_awk.sh estrlist_noawk.sh
echo "Done."
echo ""
# Generate test data # Generate test data
SMALL=500 SMALL=500
MEDIUM=2000 MEDIUM=2000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment