added dmoz makefile.am
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 3 Jul 2002 10:13:30 +0000 (10:13 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 3 Jul 2002 10:13:30 +0000 (10:13 +0000)
test/dmoz/Makefile.am [new file with mode: 0644]
test/dmoz/plot.dem
test/dmoz/update.sh

diff --git a/test/dmoz/Makefile.am b/test/dmoz/Makefile.am
new file mode 100644 (file)
index 0000000..4a1c698
--- /dev/null
@@ -0,0 +1,5 @@
+
+EXTRA_DIST = zebra-b.cfg zebra-c.cfg update.sh all.sh con1.pl con2.pl
+
+noinst_PROGRAMS =
+
index f5b20d6..5983849 100755 (executable)
@@ -1,6 +1,6 @@
-set output "times-d.ps"
+set output "times-b.ps"
 set terminal postscript
 set terminal postscript
-set title "ISAM-d Thu Jun 20 09:26:52 CEST 2002"
+set title "ISAM-b Thu Jun 20 10:33:55 CEST 2002"
 set xlabel "runs"
 set ylabel "seconds"
 set xlabel "runs"
 set ylabel "seconds"
-plot [0:] [0:]         'times-d.log' using 2 title 'real' with linespoints,         'times-d.log' using 3 title 'user' with linespoints,         'times-d.log' using 4 title 'sys' with linespoints
+plot [0:] [0:]         'times-b.log' using 2 title 'real' with linespoints,         'times-b.log' using 3 title 'user' with linespoints,         'times-b.log' using 4 title 'sys' with linespoints
index 0544ae2..a7e019b 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
 #!/bin/sh
-# $Id: update.sh,v 1.8 2002-06-20 08:03:30 adam Exp $
+# $Id: update.sh,v 1.9 2002-07-03 10:13:30 adam Exp $
 t=$1
 test -n "$t" || exit 1
 rm -f *.mf *.LCK *.tmp
 t=$1
 test -n "$t" || exit 1
 rm -f *.mf *.LCK *.tmp
@@ -18,9 +18,12 @@ while test -f dmoz.$i.xml; do
        rm -f *.mf
        mv rtmp/*.mf .
 
        rm -f *.mf
        mv rtmp/*.mf .
 
-       echo " ---------- $i ----- " >> stat-$t.log
-       ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg stat >>stat-$t.log 
        i=`expr $i + 1`
        i=`expr $i + 1`
+       mod=`expr $i % 5`
+       if test $mod -eq 0; then
+               echo "run $i" >> stat-$t.log
+               ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg stat >>stat-$t.log 
+       fi
        if test $i = 30; then
                break
        fi
        if test $i = 30; then
                break
        fi