/xmlbench/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/xmlbench/trunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
#######################
# Benchmark set 1 #####
#######################
time=1

export ORA_NLS10=/opt/xml/xdk_c/nls/data
#export ORA_NLS33=/usr/share/xdk/nlsdata
#export ORA_XML_MESG=/usr/share/xdk/mesg
export PATH=$PATH:/usr/java/j2sdk1.4.2/bin

echo "******************** Parsing Benchmarks ********************"
echo
cd parse
#for name in ruby-libxml.sh python-libxml.sh perl-libxml.sh php-libxml.sh lisp-libxml.sh libxml
#for name in libxml ruby-libxml.sh python-libxml.sh perl-libxml.sh php-libxml.sh
for name in lisp-libxml.sh
do
    if ( [ -x $name ] && [ -f $name ] ); then
	echo "--->Running <$name> benchmarks:"
	echo "-> xmlgen 256KB"
	force_xpath=1 walk_tree=1 ./$name `expr $time "*" 100` xmlgen 262144
	echo "-> xmark 4MB"
	force_xpath=1 walk_tree=1 ./$name `expr $time "*" 16` xmark 350
	echo "-> opcgen 50 ( 3.5KB ) * 10000" 
	force_xpath=1 walk_tree=1 ./$name `expr $time "*" 10000` opcgen 50
	echo "-> dmoz rdf file ( 12 MB )"
	force_xpath=1 walk_tree=1 ./$name `expr $time "*" 8` ../xml.files/test.rdf
    fi
done
cd ..