bzr branch
http://darksoft.org/webbzr/xmlbench/trunk
13
by Suren A. Chilingaryan
LibXML Pull Parser, FAXPP Parser, Mono security benchmark, multiple fixes |
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
|
|
14
by Suren A. Chilingaryan
XPath expression optimizations, various fixes |
15 |
#for name in ruby-libxml.sh python-libxml.sh perl-libxml.sh php-libxml.sh lisp-libxml.sh libxml
|
16 |
#for name in libxml ruby-libxml.sh python-libxml.sh perl-libxml.sh php-libxml.sh
|
|
17 |
for name in lisp-libxml.sh |
|
13
by Suren A. Chilingaryan
LibXML Pull Parser, FAXPP Parser, Mono security benchmark, multiple fixes |
18 |
do
|
19 |
if ( [ -x $name ] && [ -f $name ] ); then |
|
20 |
echo "--->Running <$name> benchmarks:" |
|
14
by Suren A. Chilingaryan
XPath expression optimizations, various fixes |
21 |
echo "-> xmlgen 256KB" |
22 |
force_xpath=1 walk_tree=1 ./$name `expr $time "*" 100` xmlgen 262144 |
|
13
by Suren A. Chilingaryan
LibXML Pull Parser, FAXPP Parser, Mono security benchmark, multiple fixes |
23 |
echo "-> xmark 4MB" |
14
by Suren A. Chilingaryan
XPath expression optimizations, various fixes |
24 |
force_xpath=1 walk_tree=1 ./$name `expr $time "*" 16` xmark 350 |
25 |
echo "-> opcgen 50 ( 3.5KB ) * 10000" |
|
26 |
force_xpath=1 walk_tree=1 ./$name `expr $time "*" 10000` opcgen 50 |
|
27 |
echo "-> dmoz rdf file ( 12 MB )" |
|
28 |
force_xpath=1 walk_tree=1 ./$name `expr $time "*" 8` ../xml.files/test.rdf |
|
13
by Suren A. Chilingaryan
LibXML Pull Parser, FAXPP Parser, Mono security benchmark, multiple fixes |
29 |
fi
|
30 |
done
|
|
31 |
cd ..
|