Skip to content

Commit

Permalink
fix: performance compare (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag authored Jan 20, 2025
1 parent 10a815a commit 716bb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/performance/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ run bench='.' p='1' benchtime='1s' count='1' output='./report/benchmark-output.t
compare bench='.' p='1' benchtime='1s' count='1' output='./report/benchmark-output.txt':
trap 'rm -rf {{tmpdir}}' EXIT
just run {{bench}} {{p}} {{benchtime}} {{count}} './report/benchmark-output-local.txt'
rm ./report/benchmark-output-main.txt
rm -f ./report/benchmark-output-main.txt
git clone --depth 1 -b main https://github.com/formancehq/ledger {{tmpdir}}
cd {{tmpdir}}/test/performance && just run {{bench}} {{p}} {{benchtime}} {{count}} '../../../report/benchmark-output-main.txt'
benchstat ./report/benchmark-output-main.txt ./report/benchmark-output-local.txt > ./report/benchmark-comparison.txt || true
Expand Down

0 comments on commit 716bb5f

Please sign in to comment.