aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-04-17 21:52:18 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-04-17 21:52:18 +0200
commit44b48fa083e5cb01b8de2a54f677b44c73ae33cb (patch)
tree02f231a6a79b60d22d7fc7d1a27b6afb9f2557fe /Makefile
parent6067fae668d8c5ca7d81874ddf258e0a73b69112 (diff)
downloadgo-oblast-44b48fa083e5cb01b8de2a54f677b44c73ae33cb.tar.gz
Makefile: add benchmark target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index add5af5..834305f 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,9 @@ 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 .
+
GO_COVERPKGS := $(shell go list ./... | tr '\n' , | sed 's/,$$//')
GO_TESTPKGS := $(shell go list -f '{{if or .TestGoFiles .XTestGoFiles}}{{.ImportPath}}{{end}}' ./...)