temp add old benchmarks

This commit is contained in:
zongor 2025-09-17 23:26:46 -07:00
parent dd7cc62a3e
commit 700b6fcb63
5 changed files with 10 additions and 1 deletions

View File

@ -36,6 +36,10 @@ print_section "Python ($FILENAME.py)"
print_section "zlc ($FILENAME.zl)"
echo "test input" | time zlc "$FILENAME.zl"
#Old ZRE
print_section "zre ($FILENAME.ul)"
echo "test input" | time ../build/old/zre -t "$FILENAME.ul"
# ZRE Implementation
print_section "zre ($FILENAME.ul)"
echo "test input" | time ../src/zre -t "$FILENAME.ul"
echo "test input" | time ../build/linux/zre-linux-release -t "$FILENAME.ul"

1
bench/simple.lua Normal file
View File

@ -0,0 +1 @@
print(tostring(1 + 2))

1
bench/simple.pl Normal file
View File

@ -0,0 +1 @@
print((1 + 2) . "\n");

1
bench/simple.py Normal file
View File

@ -0,0 +1 @@
print(str(1 + 2))

2
bench/simple.zl Normal file
View File

@ -0,0 +1,2 @@
let sum = 1 + 2;
print sum;