aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-01-31 18:18:53 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-01-31 18:18:53 -0800
commit22faea15c249c1f84257d289ed6904f3abe64330 (patch)
tree25498d226fa2ddf9a2882a409951cc01a0c2f80e
parentaa60d9b230f3d010d9e2da828d9e2583c0220719 (diff)
downloadpandoc-22faea15c249c1f84257d289ed6904f3abe64330.tar.gz
Makefile: give allocation data in benchmarks.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1985a4810..a61e58270 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ RESOLVER?=lts-13
GHCOPTS=-fdiagnostics-color=always
WEBSITE=../../web/pandoc.org
REVISION?=1
-BENCHARGS?="--timeout=6"
+BENCHARGS?="--timeout=6 +RTS -T -RTS"
quick:
stack install --ghc-options='$(GHCOPTS)' --install-ghc --flag 'pandoc:embed_data_files' --fast --test --ghc-options='-j +RTS -A64m -RTS' --test-arguments='-j4 --hide-successes $(TESTARGS)'
@@ -39,7 +39,7 @@ ghcid:
ghcid -c "stack repl --flag 'pandoc:embed_data_files'"
bench:
- stack bench --benchmark-arguments='$(BENCHARGS)' --ghc-options '$(GHCOPTS)'
+ stack bench --benchmark-arguments=$(BENCHARGS) --ghc-options '$(GHCOPTS)'
weigh:
stack build --ghc-options '$(GHCOPTS)' pandoc:weigh-pandoc && stack exec weigh-pandoc