From e962eae70cb0957fad08a435edb3ab3653921fb7 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Tue, 23 May 2023 07:13:47 +0100 Subject: [PATCH] Add simple benchmarking command to Makefile (#2038) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index fb9a69c8..3bb8ccd3 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,10 @@ check: clean: cargo clean +.PHONY: bench +bench: + cargo bench --package surrealdb --no-default-features --features kv-mem,http,scripting + .PHONY: serve serve: cargo run $(DEV_FEATURES) -- start --log trace --user root --pass root memory