summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 71ae1ed..495abb3 100644
--- a/Makefile
+++ b/Makefile
@@ -47,3 +47,9 @@ test:
${GO} clean -testcache
set -e; find . -name '*_test.go' | while read file; do dirname $$file; done | \
sort -u | while read dir; do ${GO} test -tags '${GO_TAGS}' --race -v -failfast $$dir || exit 2; done
+benchmark: build
+ ${GO} test -bench=. ./benchmarks
+benchmark-quick: build
+ ${GO} test -bench=BenchmarkQuick ./benchmarks
+benchmark-full: build
+ ${GO} test -bench=. -benchtime=3x ./benchmarks