Commit 49e880e0 authored by David BAELDE's avatar David BAELDE

tools/tex: update matrix generation

The system is a bit more maintainable, except for the make/ant mix.
parent 0e9cb7a9
all: dist.dat axis-count.tex size-gte-100.tex
all: dist.dat axis-count.tex size-gte-100.tex matrices
BENCHMARKS=benchmarks-all.xml \
benchmarks-xslt-full.xml benchmarks-xslt.xml \
benchmarks-xquery-full.xml benchmarks-xquery.xml
matrices: $(BENCHMARKS)
ant
clean:
rm -f dist.dat axis-count.tex size-gte-100.tex
rm -f $(BENCHMARKS)
rm -f matrix_*_*.tex totals_*_*.tex
size-gte-100.tex: $(wildcard ../../benchmark/*-full.xml)
./size-gte.sh 100 ../../benchmark/*-full.xml > size-gte-100.tex
./size-gte.sh ../../benchmark/*-full.xml > size-gte-100.tex
axis-count.tex: $(wildcard ../../benchmark/*-axis-step.xml)
./axis-count.sh > axis-count.tex
......@@ -9,3 +19,9 @@ axis-count.tex: $(wildcard ../../benchmark/*-axis-step.xml)
dist.dat: $(wildcard ../../benchmark/*-full.xml)
./distribution.sh > dist.dat
%.xml: %-full.xml
cat $< | sed -e 's/-full.xml/.xml/' > $@
benchmarks-xslt-full.xml: benchmarks-all-full.xml
grep -v 'type="xquery"' $< > $@
benchmarks-xquery-full.xml: benchmarks-all-full.xml
grep -v 'type="xslt"' $< > $@
<?xml version="1.0"?>
<benchmarks>
<benchmark href="../../benchmark/existdb-full.xml" name="eXist-db" />
<benchmark href="../../benchmark/histei-full.xml" name="HisTEI" />
<benchmark href="../../benchmark/marklogic-full.xml" name="MarkLogic" />
<benchmark href="../../benchmark/xqjson-full.xml" name="XQJSON" />
<benchmark href="../../benchmark/docbook-full.xml" name="DocBook" />
<benchmark href="../../benchmark/htmlbook-full.xml" name="HTMLBook" />
<benchmark href="../../benchmark/docbook-full.xml" type="xslt" name="DocBook" />
<benchmark href="../../benchmark/htmlbook-full.xml" type="xslt" name="HTMLBook" />
<benchmark href="../../benchmark/teixsl-full.xml" type="xslt" name="TEI" />
<benchmark href="../../benchmark/existdb-full.xml" type="xquery" name="eXist-db" />
<benchmark href="../../benchmark/guidomatic-full.xml" type="xquery" name="Guid-O-Matic" />
<benchmark href="../../benchmark/histei-full.xml" type="xquery" name="HisTEI" />
<benchmark href="../../benchmark/marklogic-full.xml" type="xquery" name="MarkLogic" />
<benchmark href="../../benchmark/xqjson-full.xml" type="xquery" name="XQJSON" />
<benchmark href="../../benchmark/xquerydoc-full.xml" type="xquery" name="XQueryDoc" />
</benchmarks>
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