Add support for wildcards when specifying modules names in benchmark compilation

This commit is contained in:
John J. Camilleri
2021-02-18 21:34:23 +01:00
parent 625386a14f
commit 51e543878b
2 changed files with 23 additions and 12 deletions

View File

@@ -32,9 +32,9 @@ The `+RTS -T -RTS` is so that GHC can report its own memory usage.
```
stack build --test --bench --no-run-tests --no-run-benchmarks
stack bench --benchmark-arguments "compile pgf Foods*.gf +RTS -T -RTS"
stack bench --benchmark-arguments "compile lpgf Foods*.gf +RTS -T -RTS"
stack bench --benchmark-arguments "run pgf Foods.pgf foods.trees +RTS -T -RTS"
stack bench --benchmark-arguments "run pgf2 Foods.pgf foods.trees +RTS -T -RTS"
stack bench --benchmark-arguments "run lpgf Foods.lpgf foods.trees +RTS -T -RTS"
stack bench --benchmark-arguments "compile pgf testsuite/lpgf/Foods*.gf +RTS -T -RTS"
stack bench --benchmark-arguments "compile lpgf testsuite/lpgf/Foods*.gf +RTS -T -RTS"
stack bench --benchmark-arguments "run pgf Foods.pgf testsuite/lpgf/foods-all.trees +RTS -T -RTS"
stack bench --benchmark-arguments "run pgf2 Foods.pgf testsuite/lpgf/foods-all.trees +RTS -T -RTS"
stack bench --benchmark-arguments "run lpgf Foods.lpgf testsuite/lpgf/foods-all.trees +RTS -T -RTS"
```