mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-27 12:24:43 +03:00
easier config of bench make target
This commit is contained in:
parent
b61c4f85e6
commit
1809dd7766
4
Makefile
4
Makefile
@ -30,8 +30,10 @@ test:
|
||||
@./regtest.py
|
||||
|
||||
# run performance benchmarks and save results in profs
|
||||
BENCHEXES=hledger ledger
|
||||
BENCHITERATIONS=2
|
||||
bench:
|
||||
tools/bench.hs bench.tests 2 hledger ledger "ledger --no-cache" | tee profs/`date +%Y%m%d%H%M%S`.bench
|
||||
tools/bench.hs bench.tests $(BENCHITERATIONS) $(BENCHEXES) | tee profs/`date +%Y%m%d%H%M%S`.bench
|
||||
|
||||
VERSION=`grep 'versionno =' Options.hs | perl -pe 's/.*"(.*?)"/\1/'`
|
||||
release:
|
||||
|
Loading…
Reference in New Issue
Block a user