/xmlbench/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/xmlbench/trunk

« back to all changes in this revision

Viewing changes to runbench.locale

  • Committer: Suren A. Chilingaryan
  • Date: 2009-02-16 09:27:17 UTC
  • Revision ID: csa@dside.dyndns.org-20090216092717-wipyvaaw2srxhgns
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
#######################
 
3
# Benchmark set 1 #####
 
4
#######################
 
5
time=1
 
6
 
 
7
export ORA_NLS10=/opt/xml/xdk_c/nls/data
 
8
#export ORA_NLS33=/usr/share/xdk/nlsdata
 
9
#export ORA_XML_MESG=/usr/share/xdk/mesg
 
10
export PATH=$PATH:/usr/java/j2sdk1.4.2/bin
 
11
 
 
12
echo "******************** Parsing Benchmarks ********************"
 
13
echo
 
14
cd parse
 
15
 
 
16
for name in libxml xerces-dom intel-dom
 
17
do
 
18
    if ( [ -x $name ] && [ -f $name ] ); then
 
19
        echo "--->Running <$name> benchmarks:"
 
20
        echo "-> Latin"
 
21
        ./$name `expr $time "*" 4` ../xml.files/locale/latin.xml
 
22
        echo "-> KOI8"
 
23
        ./$name `expr $time "*" 4` ../xml.files/locale/koi8.xml
 
24
        echo "-> UTF8"
 
25
        ./$name `expr $time "*" 4` ../xml.files/locale/utf8.xml
 
26
        echo "-> UTF16"
 
27
        ./$name `expr $time "*" 4` ../xml.files/locale/utf16.xml
 
28
    fi
 
29
done
 
30
cd ..