/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
#!/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 libxml xerces-dom intel-dom
do
    if ( [ -x $name ] && [ -f $name ] ); then
	echo "--->Running <$name> benchmarks:"
	echo "-> Latin"
	./$name `expr $time "*" 4` ../xml.files/locale/latin.xml
	echo "-> KOI8"
	./$name `expr $time "*" 4` ../xml.files/locale/koi8.xml
	echo "-> UTF8"
	./$name `expr $time "*" 4` ../xml.files/locale/utf8.xml
	echo "-> UTF16"
	./$name `expr $time "*" 4` ../xml.files/locale/utf16.xml
    fi
done
cd ..