Skip to content

Commit

Permalink
add a protocol benchmark run
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanChou committed May 16, 2024
1 parent fe545e2 commit abf29d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ test-unit-and-integration:
@VERSION=$(VERSION) go test -mod=readonly -tags='integration_test test_ledger_mock $(build_tags)' ./...

benchmark:
@VERSION=$(VERSION) go test -mod=readonly -tags='$(build_tags)' -bench=. ./...
@VERSION=$(VERSION) go test -mod=readonly -tags='$(build_tags)' -run=^# -bench=. -count 5 -benchmem ./...

test-container:
@SKIP_DISABLED=true VERSION=$(VERSION) go test -mod=readonly -tags='container_test $(build_tags)' ./...
Expand Down Expand Up @@ -421,6 +421,6 @@ update-sample-pregenesis:
check-sample-pregenesis-up-to-date:
$(MAKE) localnet-build
@docker build . -t check-sample-pregenesis -f scripts/genesis/Dockerfile --no-cache
@docker run -v $(CURDIR):/workspace check-sample-pregenesis
@docker run -v $(CURDIR):/workspace check-sample-pregenesis

.PHONY: update-sample-pregenesis check-sample-pregenesis-up-to-date

0 comments on commit abf29d4

Please sign in to comment.