change: Finished benchmarking and some more features

This commit is contained in:
Nicholas Novak
2023-12-05 15:27:40 -08:00
parent 93c7564c43
commit 2f4303ddb8
5 changed files with 30 additions and 14 deletions

View File

@@ -16,9 +16,13 @@ witchcraft-save:
mkdir witchcraft-save
./spatial-db load worldsave "saves/Witchcraft/region" --output "witchcraft-save"
.PHONY: compile
compile:
CC=clang go build .
.PHONY: bench
bench:
go test -bench . -benchtime=10s -count 10
bench: compile
CC=clang go test -bench . -benchtime=2s -count 10
.PHONY: clean
clean: