diff --git a/test/performance/justfile b/test/performance/justfile index db55ac871..9c8d8dc11 100755 --- a/test/performance/justfile +++ b/test/performance/justfile @@ -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