Moved over first rbtree test from koka_bench and integrated Kraken via compiler wrapper script that calls the partial_evaluator / compiler and then emits a wrapper script that runs the resulting wasm via wasmtime.

This commit is contained in:
Nathan Braswell
2022-05-16 02:33:10 -04:00
parent 025ca41c59
commit b1b060292e
13 changed files with 584 additions and 310 deletions

13
koka_bench/test.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -e
if [[ ! -d "build" ]]
then
mkdir build
pushd build
nix develop -i -c bash -c 'cmake .. -DCMAKE_BUILD_TYPE=Release && cmake --build .'
popd
rm -rf ./build/CMakeFiles || true
fi
nix develop -i -c bash -c 'ulimit -s unlimited && find build -type f -executable -name \*rbtree -printf "\"%p 42000\"\n" | xargs hyperfine --ignore-failure --warmup 2 --export-markdown rbtree_table.md'