bench-xpath.sh 935 Bytes
Newer Older
Sylvain Schmitz's avatar
Sylvain Schmitz committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/bash

# path to benchmark files
path=$1
echo "\\toprule"
echo "Source & queries & XPath~1.0 & XPath~2.0 & XPath~3.0\\\\"
echo "\\midrule"
echo "DocBook `./numbers.sh $path/docbook.xml '<query>' 'xpath-1.0.rnc.*yes' 'xpath-2.0.rnc.*yes' 'xpath-3.0.rnc.*yes'`\\\\"
echo "HTMLBook `./numbers.sh $path/htmlbook.xml '<query>' 'xpath-1.0.rnc.*yes' 'xpath-2.0.rnc.*yes' 'xpath-3.0.rnc.*yes'`\\\\"
echo "\\midrule"
echo "eXist-db `./numbers.sh $path/existdb.xml '<query>' 'xpath-1.0.rnc.*yes' 'xpath-2.0.rnc.*yes' 'xpath-3.0.rnc.*yes'`\\\\"
echo "HisTEI `./numbers.sh $path/histei.xml '<query>' 'xpath-1.0.rnc.*yes' 'xpath-2.0.rnc.*yes' 'xpath-3.0.rnc.*yes'`\\\\"
echo "MarkLogic `./numbers.sh $path/marklogic.xml '<query>' 'xpath-1.0.rnc.*yes' 'xpath-2.0.rnc.*yes' 'xpath-3.0.rnc.*yes'`\\\\"
echo "XQJSON `./numbers.sh $path/xqjson.xml '<query>' 'xpath-1.0.rnc.*yes' 'xpath-2.0.rnc.*yes' 'xpath-3.0.rnc.*yes'`\\\\"
echo "\\bottomrule"