mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
tools: make buildtimes: show GHC codegen times
This commit is contained in:
parent
2d82349525
commit
9b2bed8e41
4
Makefile
4
Makefile
@ -248,6 +248,10 @@ build: \
|
|||||||
$(call def-help,build, download dependencies and build hledger executables (with stack))
|
$(call def-help,build, download dependencies and build hledger executables (with stack))
|
||||||
$(STACK) build
|
$(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: \
|
# check-setup: \
|
||||||
# $(call def-help,check-setup,\
|
# $(call def-help,check-setup,\
|
||||||
# run some tests to validate the development environment\
|
# run some tests to validate the development environment\
|
||||||
|
Loading…
Reference in New Issue
Block a user