aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a141d5f..63ad0e3 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,15 @@ build/cover.html: build/cover.out
@printf "\e[1;36m>> go tool cover\e[0m\n"
go tool cover -html $< -o $@
+benchmark-oblast-orm: FORCE
+ @cd benchmark && go test -bench BenchmarkORM -benchmem ./oblast
+
+benchmark-oblast-postgres: FORCE
+ @cd benchmark && go test -bench BenchmarkPostgres -benchmem ./oblast
+
+benchamrk-pathrouter: FORCE
+ @cd benchmark && go test -bench . -benchmem ./pathrouter
+
help: FORCE
@printf "\n"
@printf "\e[1mUsage:\e[0m\n"