feat: Added bench subcommand to Makefile
This commit is contained in:
parent
cd06c19473
commit
0cefb5fd0b
4
Makefile
4
Makefile
@ -16,6 +16,10 @@ witchcraft-save:
|
|||||||
mkdir witchcraft-save
|
mkdir witchcraft-save
|
||||||
./spatial-db load worldsave "saves/Witchcraft/region" --output "witchcraft-save"
|
./spatial-db load worldsave "saves/Witchcraft/region" --output "witchcraft-save"
|
||||||
|
|
||||||
|
.PHONY: bench
|
||||||
|
bench:
|
||||||
|
go test -bench . -benchtime=10s -count 10
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -r $(SAVES)
|
rm -r $(SAVES)
|
||||||
|
Loading…
Reference in New Issue
Block a user