Skip to content

Commit

Permalink
bugfix: bench-master caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Van Bouwel committed Jan 28, 2025
1 parent 23cfe0b commit 63b6d3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ jobs:
# })
- uses: actions/upload-artifact@v4
with:
name: latest-benchmark-files
name: benchmark-report-${{ github.ref }}
path: cmd/bench-*.txt
overwrite: true
- uses: actions/upload-artifact@v4
with:
name: benchmark-report
path: cmd/bench-*-master-report.txt
compression-level: 0 # no compression
overwrite: true
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ bench-main: bench-dependencies
git branch -d "before_going_to_main" || echo "If there was no branch before_going_to_main then this is ok"
git checkout -b "before_going_to_main"
git checkout origin/main
test -e bench-master.txt || (cd cmd && go test -bench=. -benchtime=5s -run "FakeS3Proxy" -benchmem -count=$(BENCH_COUNT) | tee bench-main.txt && cd ..)
test -e cmd/bench-main.txt || (cd cmd && go test -bench=. -benchtime=5s -run "FakeS3Proxy" -benchmem -count=$(BENCH_COUNT) | tee bench-main.txt && cd ..)
git checkout "before_going_to_main"

bench-current: bench-dependencies
Expand Down

0 comments on commit 63b6d3a

Please sign in to comment.