我想通过考试 --small 选项来自 hs-gauge 基准库。
--small
hs-gauge
我正在寻找与 stack 所以我可以简单地写下:
stack
cabal new-bench --benchmark-arguments="--small"
如何将参数传递给 cabal new-bench 命令
cabal new-bench
到目前为止,不支持此用法 new-bench : https://github.com/haskell/cabal/issues/4643 (解决方法是手动运行可执行文件)
new-bench