2 # $Id: update.sh,v 1.10 2002-07-15 11:48:21 adam Exp $
5 test -d reg-$t && rm -fr reg-$t
9 ../../index/zebraidx -l zebraidx-$t.log init
11 rm -f times-$t.log stat-$t.log
12 while test -f dmoz.$i.xml; do
13 echo -n "$i " >>times-$1.log
15 ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg -f 10 update dmoz.$i.xml
17 grep ' zebraidx times:' zebraidx-$t.log | sed 's/.*zebraidx times://g' >>times-$t.log
21 if test $mod -eq 0; then
22 echo "run $i" >> stat-$t.log
23 ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg stat >>stat-$t.log
30 title="ISAM-$t `date`"
32 cat >plot.dem <<ENDOFMESSAGE
33 set output "times-$t.ps"
34 set terminal postscript
39 'times-$t.log' using 2 title 'real' with linespoints, \
40 'times-$t.log' using 3 title 'user' with linespoints, \
41 'times-$t.log' using 4 title 'sys' with linespoints