Skip to content

Commit

Permalink
chore(build): fix benchstat reports (#1059)
Browse files Browse the repository at this point in the history
compare old vs new, not the opposite :/

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
  • Loading branch information
xcoulon authored Jun 25, 2022
1 parent a2de2b7 commit 745e403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make/bench.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ bench-diff: clean generate-optimized check-git-status
@echo "generated $(REPORTS_DIR)/v0.7.0.bench"
@git checkout $(GITHUB_SHA)
@echo "HEAD is now at $(shell git log -1 --format='%h') (expecting $(GITHUB_SHA))"
@$(GOPATH)/bin/benchstat $(REPORTS_DIR)/$(GITHUB_SHA)-$(GIT_COMMIT_ID_SHORT).bench $(REPORTS_DIR)/master.bench >> $(REPORTS_DIR)/diffs-master.txt
@$(GOPATH)/bin/benchstat $(REPORTS_DIR)/$(GITHUB_SHA)-$(GIT_COMMIT_ID_SHORT).bench $(REPORTS_DIR)/v0.7.0.bench >> $(REPORTS_DIR)/diffs-latest-release.txt
@$(GOPATH)/bin/benchstat $(REPORTS_DIR)/master.bench $(REPORTS_DIR)/$(GITHUB_SHA)-$(GIT_COMMIT_ID_SHORT).bench >> $(REPORTS_DIR)/diffs-master.txt
@$(GOPATH)/bin/benchstat $(REPORTS_DIR)/v0.7.0.bench $(REPORTS_DIR)/$(GITHUB_SHA)-$(GIT_COMMIT_ID_SHORT).bench >> $(REPORTS_DIR)/diffs-latest-release.txt

.PHONY: print-bench-diff-master
print-bench-diff-master:
Expand Down

0 comments on commit 745e403

Please sign in to comment.