From 43dc321742db230b725c19eeab2733fc2240ddb7 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 12 Jan 2024 07:01:04 -1000 Subject: [PATCH] ;just:bench: accept quickbench args --- Justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Justfile b/Justfile index 8093225c3..37b837a74 100644 --- a/Justfile +++ b/Justfile @@ -538,9 +538,9 @@ samplejournals: BENCHEXES := 'hledger' # 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" - 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 # bench: samplejournals tests/bench.tests tools/simplebench \