Add cfold benchmark - can't go over 5 (though Koka uses 20) because wasm runs out of stack. Not entirely sure how to handle that - I imagine we're emitting far to much on the stack frame, but also I would hope wasmtime would optimize it, and I additionally can't find a way to raise wasmtime's limit from the cli... It is worth noting that Koka notes that cfold is a benchmark that can exhaust the stack

This commit is contained in:
Nathan Braswell
2022-05-17 23:34:46 -04:00
parent e6a1ad5bf3
commit 7fef7eba85
6 changed files with 250 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
set(sources rbtree.kk nqueens.kk nqueens-int.kk)
set(sources rbtree.kk nqueens.kk nqueens-int.kk cfold.kk)
set(koka koka)