Add nqueens benchmark (new kraken impl, with koka and cpp moved over from koka_bench)
This commit is contained in:
@@ -7,7 +7,10 @@ then
|
||||
pushd build
|
||||
nix develop -i -c bash -c 'cmake .. -DCMAKE_BUILD_TYPE=Release && cmake --build .'
|
||||
popd
|
||||
rm -rf ./build/CMakeFiles || true
|
||||
fi
|
||||
pushd build
|
||||
nix develop -i -c bash -c 'make'
|
||||
popd
|
||||
|
||||
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'
|
||||
nix develop -i -c bash -c 'ulimit -s unlimited && find build -type f -executable -name \*nqueens\* -printf "\"%p 10\"\n" | xargs hyperfine --ignore-failure --warmup 2 --export-markdown rbnqueens_table.md'
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user