Add UTHASH bench

This commit is contained in:
Patrick Pelissier committed 2017-07-23 22:12:22 +02:00
1 parent 9b90ada06d
commit 26224b889d
2 files changed
+233

No files matched your search

+13
View File
@@ -143,6 +143,19 @@ bench-hopscotchmap0:
@./bench-hopscotchmap.exe 42
@./bench-hopscotchmap.exe 43
# UTHASH shall point to the directory where the source are
bench-uthash:
if test -n "$${UTHASH}" ; then make bench-uthash0 ; else echo "Nothing to be done." ; fi
bench-uthash0:
$(CC) $(CFLAGS) $(CPPFLAGS) -I "$${UTHASH}" bench-uthash.c -o bench-uthash.exe
@./bench-uthash.exe 10
@./bench-uthash.exe 20
@./bench-uthash.exe 41
@./bench-uthash.exe 42
@./bench-uthash.exe 43
@./bench-uthash.exe 50
############################################################################
bench-plain: