More Benchmarks
This commit is contained in:
parent
dc3ceecd44
commit
a2817b2681
2 changed files with 3 additions and 3 deletions
Binary file not shown.
|
@ -9,7 +9,7 @@ ifeq ($(DETAILED_BENCHMARK), true)
|
|||
CFLAGS += -DMD2_DETAILED_BENCHMARK
|
||||
endif
|
||||
LDFLAGS = -pthread
|
||||
TESTFILES = t/1 t/2 t/5 t/7 t/10 t/25 t/50 t/75 t/100 t/250 t/500 t/750 t/1000 t/1500 t/2000 t/2500 t/3000 t/3500 t/4000 t/4500 t/5000 t/5500 t/6000 t/6500 t/7000 t/7500 t/8000 t/8500 t/9000 t/9500 t/10000
|
||||
TESTFILES = t/1 t/2 t/5 t/7 t/10 t/25 t/50 t/75 t/100 #t/250 t/500 t/750 t/1000 t/1500 t/2000 t/2500 t/3000 t/3500 t/4000 t/4500 t/5000 t/5500 t/6000 t/6500 t/7000 t/7500 t/8000 t/8500 t/9000 t/9500 t/10000
|
||||
TESTFILES_SIZES = ${subst t/,,${TESTFILES}}
|
||||
BLUE=\033[1;36m
|
||||
RED=\033[1;31m
|
||||
|
@ -56,13 +56,13 @@ benchmarks.csv: md2 ${TESTFILES}
|
|||
done
|
||||
@echo "" >> $@
|
||||
|
||||
@for i in 4; do \
|
||||
@for i in 0 1 2 3 4; do \
|
||||
echo ;\
|
||||
echo -e "${BLUE}=== Testing implementation $$i ===${NC}";\
|
||||
echo -n "Implementierung-$$i" >> $@; \
|
||||
for t in $(TESTFILES_SIZES); do \
|
||||
echo -n "- with $${t}MB ... "; \
|
||||
if ! rr=$$(./md2 t/$${t} -B1 -V$${i}); then \
|
||||
if ! rr=$$(./md2 t/$${t} -B3 -V$${i}); then \
|
||||
echo; \
|
||||
echo -e "${RED}ERROR -> SKIPPED!${NC}"; \
|
||||
echo -n ";0" >> $@; \
|
||||
|
|
Loading…
Reference in a new issue