Commit 5236f4fd authored by Sylvain Schmitz's avatar Sylvain Schmitz

handle new sources

parent 6ee92937
......@@ -12,7 +12,7 @@ This buildfile is used to retrieve and parse XPath expressions from various sour
<!-- path to schemas -->
<fileset id="fs.schemas" dir="../xsd" includes="xpath*.xsd"/>
<pathconvert property="schemas" refid="fs.schemas" pathsep=" "/>
<fileset id="fs.relaxng" dir="../relaxng" includes="xpath-*-*.rnc"/>
<fileset id="fs.relaxng" dir="../relaxng" includes="xpath-*.rnc"/>
<pathconvert property="relaxng" refid="fs.relaxng" pathsep=" "/>
<!-- path to classes -->
......@@ -40,6 +40,7 @@ This buildfile is used to retrieve and parse XPath expressions from various sour
<assertions><!-- this is ignored!!! -->
<enable/>
</assertions>
<jvmarg value="-Xmx7000M"/>
<arg line="@{arg} --unique ${tests} --rnc ${relaxng}"/>
</java>
<copy unless:blank="@{license}"
......
......@@ -3,17 +3,19 @@
# path to benchmark files
path=$1
full=$2
xmlarray=(docbook htmlbook existdb histei marklogic xqjson)
names=(DocBook HTMLBook eXist-db HisTEI MarkLogic XQJSON)
xmlarray=(docbook teixsl htmlbook existdb histei xquerydoc marklogic xqjson guidomatic)
names=(DocBook TEI HTMLBook eXist-db HisTEI xquerydoc MarkLogic XQJSON guid-o-matic)
#xmlarray=(docbook htmlbook existdb histei marklogic xqjson)
#names=(DocBook HTMLBook eXist-db HisTEI MarkLogic XQJSON)
echo "\\toprule"
echo "Source & \\textsf{Core~1.0} & \\textsf{Core~2.0} & \\textsf{Downward} & \\textsf{Vertical} & \\textsf{Forward} & \\textsf{EMSO\$^\\textsf 2\$} & \\textsf{NonMixing}\\\\"
echo "Source & queries & EFO & \\textsf{Core~1.0} & \\textsf{Core~2.0} & \\textsf{Downward} & \\textsf{Vertical} & \\textsf{Forward} & \\textsf{EMSO\$^\\textsf 2\$} & \\textsf{NonMixing}\\\\"
echo "\\midrule"
for ((i = 0; i < ${#xmlarray[@]}; ++i))
do
printf "${names[$i]} "
echo "`./numbers.sh $path/${xmlarray[$i]}$2.xml 'xpath-1.0-core-full.rnc.*yes' 'xpath-2.0-core-join.rnc.*yes' 'xpath-1.0-downward-last.rnc.*yes' 'xpath-1.0-vertical-full.rnc.*yes' 'xpath-1.0-forward-last.rnc.*yes' 'xpath-emso2-full.rnc.*yes' 'xpath-non-mixing-basic.rnc.*yes'`\\\\"
echo "`./numbers.sh $path/${xmlarray[$i]}$2.xml '<schemas>' 'xpath-1.0-efo-join.rnc.*yes' 'xpath-1.0-core-full.rnc.*yes' 'xpath-2.0-core-join.rnc.*yes' 'xpath-1.0-downward-last.rnc.*yes' 'xpath-1.0-vertical-full.rnc.*yes' 'xpath-1.0-forward-last.rnc.*yes' 'xpath-emso2-full.rnc.*yes' 'xpath-non-mixing-basic.rnc.*yes'`\\\\"
done
echo "\\bottomrule"
......@@ -3,8 +3,8 @@
# path to benchmark files
path=$1
full=$2
xmlarray=(docbook htmlbook existdb histei marklogic xqjson)
names=(DocBook HTMLBook eXist-db HisTEI MarkLogic XQJSON)
xmlarray=(docbook teixsl htmlbook existdb histei xquerydoc marklogic xqjson guidomatic)
names=(DocBook TEI HTMLBook eXist-db HisTEI xquerydoc MarkLogic XQJSON guid-o-matic)
echo "\\toprule"
echo "Source & queries & XPath~1.0 & XPath~2.0 & XPath~3.0\\\\"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment