From 44b48fa083e5cb01b8de2a54f677b44c73ae33cb Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Fri, 17 Apr 2026 21:52:18 +0200 Subject: Makefile: add benchmark target --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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}}' ./...) -- cgit v1.2.3