Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Coulon <[email protected]>
  • Loading branch information
xcoulon committed Apr 19, 2022
1 parent fd90324 commit a4daa56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
go install golang.org/x/perf/cmd/benchstat@latest
make bench-diff
OUTPUT=$(make print-bench-diff)
echo "output: $OUTPUT"
echo "::set-output name=summary::$OUTPUT"
- name: Comment Benchmark Diffs
Expand Down
2 changes: 1 addition & 1 deletion make/bench.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ bench-diff: clean generate-optimized check-git-status
| tee $(REPORTS_DIR)/v0.7.0.bench
@echo "generated $(REPORTS_DIR)/v0.7.0.bench"
@git checkout $(GITHUB_SHA)
@echo "HEAD is now at $(git rev-parse --abbrev-ref HEAD) (expecting $(GITHUB_SHA))"
@echo "HEAD is now at $(shell git log -1 --format='%h') (expecting $(GITHUB_SHA))"
@echo "Comparing with 'master' branch"
@$(GOPATH)/bin/benchstat $(REPORTS_DIR)/$(GITHUB_SHA)-$(GIT_COMMIT_ID_SHORT).bench $(REPORTS_DIR)/master.bench
@echo ""
Expand Down

0 comments on commit a4daa56

Please sign in to comment.