git.iko.soy/typeable/pandoc
on master help sign in
'make bench': Create csv files for comparison.
commitb2b32d9bb2bb27b4f207db6d95938390b6ac8042 authorJohn MacFarlane <jgm@berkeley.edu> dateThu 18 Feb 2021, 23:22 (6 years ago) parent98d26c2
3 files changed+4−3
Makefile+2−1 pandoc.cabal+1−1 stack.yaml+1−1
Makefile+2−1
@@ -2,6 +2,7 @@ version?=$(shell grep '^[Vv]ersion:' pandoc.cabal | awk '{print $$2;}')
22pandoc=$(shell find dist -name pandoc -type f -exec ls -t {} \; | head -1)
33SOURCEFILES?=$(shell git ls-tree -r master --name-only | grep "\.hs$$")
44BRANCH?=master
5+COMMIT=$(shell git rev-parse --short HEAD)
56GHCOPTS=-fdiagnostics-color=always
67WEBSITE=../../web/pandoc.org
78REVISION?=1
@@ -38,7 +39,7 @@ ghcid:
3839 ghcid -c "stack repl --flag 'pandoc:embed_data_files'"
3940
4041bench:
41− stack bench --benchmark-arguments='$(BENCHARGS)' --ghc-options '$(GHCOPTS)'
42+ stack bench --benchmark-arguments='$(BENCHARGS) --csv bench-$(COMMIT).csv' --ghc-options '$(GHCOPTS)'
4243
4344weigh:
4445 stack build --ghc-options '$(GHCOPTS)' pandoc:weigh-pandoc && stack exec weigh-pandoc
pandoc.cabal+1−1
@@ -827,6 +827,6 @@ benchmark benchmark-pandoc
827827 build-depends: bytestring,
828828 containers,
829829 tasty,
830− tasty-bench >= 0.1 && <= 0.2,
830+ tasty-bench >= 0.2 && <= 0.3,
831831 mtl >= 2.2 && < 2.3,
832832 time
stack.yaml+1−1
@@ -11,7 +11,7 @@ extra-deps:
1111- commonmark-0.1.1.4
1212- commonmark-extensions-0.2.0.4
1313- commonmark-pandoc-0.2.0.1
14−- tasty-bench-0.1
14+- tasty-bench-0.2.1
1515- citeproc-0.3.0.7
1616#- citeproc:
1717# git: https://github.com/jgm/citeproc.git