tools: make buildtimes: show GHC codegen times

This commit is contained in:
Simon Michael 2022-03-25 07:42:28 -10:00
parent 2d82349525
commit 9b2bed8e41

View File

@ -248,6 +248,10 @@ build: \
$(call def-help,build, download dependencies and build hledger executables (with stack))
$(STACK) build
buildtimes: \
$(call def-help,buildtimes, build hledger-lib showing just the GHC codegen time and allocation for each module)
$(STACK) build hledger-lib --force-dirty --ghc-options='-fforce-recomp -ddump-timings' 2>&1 | grep ^CodeGen
# check-setup: \
# $(call def-help,check-setup,\
# run some tests to validate the development environment\