Add simple benchmarking command to Makefile (#2038)
This commit is contained in:
parent
a81d427c02
commit
e962eae70c
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -28,6 +28,10 @@ check:
|
||||||
clean:
|
clean:
|
||||||
cargo clean
|
cargo clean
|
||||||
|
|
||||||
|
.PHONY: bench
|
||||||
|
bench:
|
||||||
|
cargo bench --package surrealdb --no-default-features --features kv-mem,http,scripting
|
||||||
|
|
||||||
.PHONY: serve
|
.PHONY: serve
|
||||||
serve:
|
serve:
|
||||||
cargo run $(DEV_FEATURES) -- start --log trace --user root --pass root memory
|
cargo run $(DEV_FEATURES) -- start --log trace --user root --pass root memory
|
||||||
|
|
Loading…
Reference in a new issue