/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.scripts

  • Committer: Suren A. Chilingaryan
  • Date: 2009-10-09 04:07:13 UTC
  • Revision ID: csa@dside.dyndns.org-20091009040713-mel06whc852tf2xz
XPath expression optimizations, various fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
echo "******************** Parsing Benchmarks ********************"
13
13
echo
14
14
cd parse
15
 
for name in ruby-libxml.sh python-libxml.sh perl-libxml.sh php-libxml.sh lisp-libxml.sh libxml
 
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
16
18
do
17
19
    if ( [ -x $name ] && [ -f $name ] ); then
18
20
        echo "--->Running <$name> benchmarks:"
19
 
#       echo "-> xmlgen 4 KB"
20
 
#       ./$name `expr $time "*" 85000` xmlgen 4096
21
 
#       echo "-> xmlgen 256 KB"
22
 
#       ./$name `expr $time "*" 1000` xmlgen 262144
23
 
#       walk_tree=1 ./$name `expr $time "*" 1000` xmlgen 262144
 
21
        echo "-> xmlgen 256KB"
 
22
        force_xpath=1 walk_tree=1 ./$name `expr $time "*" 100` xmlgen 262144
24
23
        echo "-> xmark 4MB"
25
 
        ./$name `expr $time "*" 64` xmark 350
26
 
        walk_tree=1 ./$name `expr $time "*" 64` xmark 350
27
 
 
28
 
#       echo "-> opcgen 50 ( 3.5KB )"
29
 
#       ./$name `expr $time "*" 80000` opcgen 50
 
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
30
29
    fi
31
30
done
32
31
cd ..