aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark.mk.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmark.mk.in')
-rw-r--r--src/benchmark.mk.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmark.mk.in b/src/benchmark.mk.in
index c576cd6..9d8adff 100644
--- a/src/benchmark.mk.in
+++ b/src/benchmark.mk.in
@@ -23,7 +23,7 @@ all: test
test: master.log newcache.log
%.log: keys.txt a.gdbm
$(AM_V_GEN)MAXCACHE=$(MAXCACHE); \
- $(abs_top_srcdir)/src/runtest -d \
+ $(abs_top_srcdir)/src/runtest -n $(NUMSAMPLES) $(RUNTESTOPT) \
--final $${MAXCACHE:-$$(($$($(GDBMTOOL) a.gdbm dir |\
sed -n -e '2{' \
-e 's/.*Buckets = //' \
@@ -43,7 +43,7 @@ a.gdbm:
@$(MAKE) -C $(TESTDIR) num2word gtload
$(AM_V_GEN)$(TESTDIR)/num2word 1:$(NRECS) | $(TESTDIR)/gtload -clear a.gdbm
benchmark.gnuplot: $(abs_top_srcdir)/src/gnuplot.m4
- m4 -DNRECS=$(NRECS) -DNKEYS=$(NKEYS) \
+ m4 -DNRECS=$(NRECS) -DNKEYS=$(NKEYS) -DNUMSAMPLES=$(NUMSAMPLES) \
$(abs_top_srcdir)/src/gnuplot.m4 > benchmark.gnuplot
plot: test benchmark.gnuplot
gnuplot -p benchmark.gnuplot

Return to:

Send suggestions and report system problems to the System administrator.