Factor benchmarks out into tests\benchmark\<pkg>

This commit is contained in:
Jeroen van Rijn
2024-06-02 14:54:29 -04:00
committed by Feoramund
parent 62b7d8de97
commit 8d93379e29
6 changed files with 615 additions and 581 deletions
+14
View File
@@ -0,0 +1,14 @@
ODIN=../../odin
COMMON=-no-bounds-check -vet -strict-style
all: crypto_bench \
hash_bench
crypto_bench:
$(ODIN) test crypto $(COMMON) -o:speed -out:bench_crypto
hash_bench:
$(ODIN) test hash $(COMMON) -o:speed -out:bench_hash
clean:
rm bench_*