From 63df99f2e1c742069464d219a9f340c1f8f5bd90 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Thu, 17 Sep 2026 16:21:40 +0200 Subject: 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() --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') 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" -- cgit v1.3.1