diff --git a/.github/workflows/memory-profile-compare.yml b/.github/workflows/memory-profile-compare.yml index aafa03d..b0db59e 100644 --- a/.github/workflows/memory-profile-compare.yml +++ b/.github/workflows/memory-profile-compare.yml @@ -9,7 +9,7 @@ jobs: - name: Checkout main branch uses: actions/checkout@v2 with: - ref: 'main' + ref: ff-3110-fix-perf-test - name: Set up Go (main branch) uses: actions/setup-go@v2 diff --git a/Makefile b/Makefile index 43aaf10..f017ef1 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ profile-memory: test-data @cd eppoclient && \ { \ echo "Using OUTFILE_SUFFIX: $$OUTFILE_SUFFIX"; \ - go test -run Test_e2e -memprofile ../memprofile$$OUTFILE_SUFFIX.out ./...; \ + go test -run Test_e2e -memprofile ../memprofile$$OUTFILE_SUFFIX.out .; \ go tool pprof -text -nodecount=50 ../memprofile$$OUTFILE_SUFFIX.out > ../memprofile$$OUTFILE_SUFFIX.text; \ }