Combine benchmark tables

This commit is contained in:
Nathan Braswell
2022-05-19 00:49:09 -04:00
parent fefae631e2
commit 3eea883ebd
2 changed files with 68 additions and 0 deletions

View File

@@ -16,3 +16,11 @@ nix develop -i -c bash -c 'ulimit -s unlimited && find build -type f -executable
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 \*cfold\* -printf "\"%p 5\"\n" | xargs hyperfine --ignore-failure --warmup 2 --export-markdown cfold_table.md'
nix develop -i -c bash -c 'ulimit -s unlimited && find build -type f -executable -name \*deriv\* -printf "\"%p 8\"\n" | xargs hyperfine --ignore-failure --warmup 2 --export-markdown deriv_table.md'
printf "#Benchmarks\n\n" > benchmarks.md
for x in *_table.md
do
printf "## $x\n\n" >> benchmarks.md
cat "$x" >> benchmarks.md
printf "\n\n\n" >> benchmarks.md
done