aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-09-17 16:21:40 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-09-17 16:21:40 +0200
commit63df99f2e1c742069464d219a9f340c1f8f5bd90 (patch)
treeb64e6742c78e0d7e4bac1d6f3ed8a2c03f2f9c9b /Makefile
parentfe37a82d0495a8b59b80677dd42d0d94ffafdfb4 (diff)
downloadgo-gg-63df99f2e1c742069464d219a9f340c1f8f5bd90.tar.gz
oblast: import from go.xyrillian.de/oblast
- type RuntimeIndex is left behind for now because I don't want to commit to the method names yet - the "OrNone" methods are removed in favor of gsql.NoneIfNoRows()
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"