Skip to content

Commit 99f73ce

Browse files
committed
fix: benchmarks
1 parent 716bb5f commit 99f73ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/performance/justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ compare bench='.' p='1' benchtime='1s' count='1' output='./report/benchmark-outp
1919
just run {{bench}} {{p}} {{benchtime}} {{count}} './report/benchmark-output-local.txt'
2020
rm -f ./report/benchmark-output-main.txt
2121
git clone --depth 1 -b main https://github.com/formancehq/ledger {{tmpdir}}
22-
cd {{tmpdir}}/test/performance && just run {{bench}} {{p}} {{benchtime}} {{count}} '../../../report/benchmark-output-main.txt'
22+
location=$(pwd) && cd {{tmpdir}}/test/performance && just run {{bench}} {{p}} {{benchtime}} {{count}} $location/report/benchmark-output-main.txt
2323
benchstat ./report/benchmark-output-main.txt ./report/benchmark-output-local.txt > ./report/benchmark-comparison.txt || true
2424

2525
graphs:

0 commit comments

Comments
 (0)