release 0.1.0
This commit is contained in:
commit
30d94536a9
90 changed files with 7722 additions and 0 deletions
18
benchmarks/bench.sh
Normal file
18
benchmarks/bench.sh
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env sh
|
||||
file_dirname="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
owa_cmd="./target/release/owa-rs"
|
||||
|
||||
for i in $(seq 1 1); do
|
||||
python_file="${file_dirname}/case${i}/main.py"
|
||||
owa_file="${file_dirname}/case${i}/main.owa"
|
||||
no_owu_file="${file_dirname}/case${i}/no_owu.owa"
|
||||
echo "Running case #${i}"
|
||||
hyperfine \
|
||||
--warmup 5 \
|
||||
--min-runs 50 \
|
||||
--show-output \
|
||||
--export-markdown "${file_dirname}/case${i}/result.md" \
|
||||
"python3 $python_file" \
|
||||
"$owa_cmd run $owa_file" \
|
||||
"$owa_cmd --no-owu $no_owu_file"
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue