;just:bench: accept quickbench args
This commit is contained in:
parent
76209d5765
commit
43dc321742
4
Justfile
4
Justfile
@ -538,9 +538,9 @@ samplejournals:
|
|||||||
BENCHEXES := 'hledger'
|
BENCHEXES := 'hledger'
|
||||||
|
|
||||||
# run benchmark commands in bench.sh for each of BENCHEXES, with quickbench
|
# run benchmark commands in bench.sh for each of BENCHEXES, with quickbench
|
||||||
@bench:
|
@bench *ARGS:
|
||||||
printf "Running benchmarks with {{ BENCHEXES }} (times are approximate, can be skewed):\n"
|
printf "Running benchmarks with {{ BENCHEXES }} (times are approximate, can be skewed):\n"
|
||||||
which quickbench >/dev/null && quickbench -w {{ BENCHEXES }} || echo "quickbench not installed (see bench.sh), skipping"
|
which quickbench >/dev/null && quickbench -w {{ BENCHEXES }} {{ ARGS }} || echo "quickbench not installed (see bench.sh), skipping"
|
||||||
|
|
||||||
# samplejournals bench.sh
|
# samplejournals bench.sh
|
||||||
# bench: samplejournals tests/bench.tests tools/simplebench \
|
# bench: samplejournals tests/bench.tests tools/simplebench \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user