Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ just := 'just -f ' + justfile()
_help *REGEX:
#!/usr/bin/env bash
if [[ '{{ REGEX }}' == '' ]]
then just -f {{ justfile() }} -ul | gsed -E 's/(^ +[A-Z_-]+ )/\n\1/'; echo
then just -f {{ justfile() }} -ul | sed -E 's/(^ +[A-Z_-]+ )/\n\1/'; echo
else just -f {{ justfile() }} -ul | rg --pcre2 -i '{{ REGEX }}'; true
fi

Expand Down Expand Up @@ -485,10 +485,10 @@ SHELLTEST := STACK + ' exec -- shelltest --execdir --threads=32'
# remind how to test performance
@perfhelp:
echo "Some ways to compare performance of two installed hledger versions:"
echo "j installas new"
echo "j perftest"
echo "j bench -w hledger,hledger-new -n2 -N2"
echo "j bench-throughput hledger; j bench-throughput hledger-new"
echo "just installas new"
echo "just perftest"
echo "just bench -w hledger,hledger-new -n2 -N2"
echo "just bench-throughput hledger; just bench-throughput hledger-new"

# run performance tests with the hledger in PATH, logging to perf.log and expecting a certain txns/s. Accepts shelltest OPTS.
@perftest *STOPTS:
Expand Down