aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d364193..ab441e7 100644
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,11 @@ static-check: FORCE
@printf "\e[1;36m>> reuse lint\e[0m\n"
@if ! reuse lint -q; then reuse lint; fi
-benchmark: FORCE
- @cd benchmark && go test -bench . -benchmem .
+benchmark-orm: FORCE
+ @cd benchmark && go test -bench BenchmarkORM -benchmem .
+
+benchmark-postgres: FORCE
+ @cd benchmark && go test -bench BenchmarkPostgres -benchmem .
GO_COVERPKGS := $(shell go list ./... | grep -vw testhelpers | tr '\n' , | sed 's/,$$//')
GO_TESTPKGS := $(shell go list -f '{{if or .TestGoFiles .XTestGoFiles}}{{.ImportPath}}{{end}}' ./...)