2 # $Id: update.sh,v 1.3 2002-06-19 10:29:18 adam Exp $
6 ../../index/zebraidx -l zebraidx.log init
8 rm -f times-$t.log zebraidx-$t.log stat-$t.log
9 while test -f dmoz.$i.xml; do
10 echo -n "$i " >>times-$1.log
11 /usr/bin/time -f '%e %U %S %P' -a -o times-$t.log ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg -f 10 update dmoz.$i.xml
12 ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg stat >>stat-$t.log
19 cat >plot.dem <<ENDOFMESSAGE
23 'times-$t.log' using 2 title 'ISAM-$t(real)' with linespoints, \
24 'times-$t.log' using 3 title 'ISAM-$t(user)' with linespoints, \
25 'times-$t.log' using 4 title 'ISAM-$t(sys)' with linespoints
26 set output "times-$t.ps"
27 set terminal postscript