Add simple benchmarking command to Makefile (#2038)

This commit is contained in:
Tobie Morgan Hitchcock 2023-05-23 07:13:47 +01:00 committed by GitHub
parent a81d427c02
commit e962eae70c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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