Plot files from other branch. Extra test_sru test
authorDennis Schafroth <dennis@indexdata.com>
Mon, 11 Oct 2010 12:15:16 +0000 (14:15 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Mon, 11 Oct 2010 12:15:16 +0000 (14:15 +0200)
doc/common
perf/bash/range_plot.sh [new file with mode: 0644]
perf/bash/show.gnuplot [new file with mode: 0644]
test/test_sru_3.res
test/test_sru_4.res [new file with mode: 0644]

index 00de5ca..51f33ab 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 00de5ca16beac9c3ac135ff92ff719b86b0c6df9
+Subproject commit 51f33ab41eada587c95a46b3340c2cd03ddaa7cd
diff --git a/perf/bash/range_plot.sh b/perf/bash/range_plot.sh
new file mode 100644 (file)
index 0000000..a87e071
--- /dev/null
@@ -0,0 +1,12 @@
+
+if [ "$2" != "" ] ; then
+  echo  "set terminal $2" 
+fi
+
+if [ "$1" != "" ] ; then 
+    RANGE=$1
+else
+    RANGE=range
+fi
+
+echo "plot '$RANGE.stat' using 1:2 title 'init', '$RANGE.stat'using 1:3 title 'search', '$RANGE.stat'using 1:4 title 'show' " 
diff --git a/perf/bash/show.gnuplot b/perf/bash/show.gnuplot
new file mode 100644 (file)
index 0000000..0d6e18b
--- /dev/null
@@ -0,0 +1,3 @@
+set terminal png
+plot 'show.stat' using 1:2 title 'Show'
+
index 9e30100..d3b889f 100644 (file)
@@ -2,232 +2,8 @@
 <show>
 <status>OK</status>
 <activeclients>0</activeclients>
-<merged>14</merged>
+<merged>0</merged>
 <total>0</total>
 <start>0</start>
-<num>14</num>
-<hit>
-
-<md-title>The last man</md-title>
-<md-title-remainder>: in 3 vol</md-title-remainder>
-<md-author>Shelley, Mary W</md-author>
-<md-description>digitised: 2004 - 2005</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>The last man</md-title>
-<md-title-remainder>: in 3 vol</md-title-remainder>
-<md-author>Shelley, Mary W</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>The last man</md-title>
-<md-title-remainder>: in 3 vol</md-title-remainder>
-<md-author>Shelley, Mary W</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<count>2</count>
-<relevance>921034</relevance>
-<recid>title the last man author shelley mary w</recid>
-</hit>
-<hit>
-
-<md-title>Das profunde Verständnis fundamentaler Mathematik von Lehrkräften als Ausgangspunkt für eine Verbesserung der Unterrichtsqualität</md-title>
-<md-title-remainder>eine empirische Analyse unter Einschluss eines länderübergreifenden Vergleichs</md-title-remainder>
-<md-date>2005</md-date>
-<md-author>Seyd, Christofer</md-author>
-<md-description>Research in the professional action and the didactical expertise of teachers is a white spot on the map. This study supports the thesis that this is a starting point for the improvement of class teaching. This is first of all true for a certain sector of the spectrum of schools and classes: mathematical lessons in 4th grade elementary school. However, lessons drawn from this sector may well allow conclusions and reasons as well as chances for improvements for the observations made in the cited comparative intercultural Studies</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>Das profunde Verständnis fundamentaler Mathematik von Lehrkräften als Ausgangspunkt für eine Verbesserung der Unterrichtsqualität</md-title>
-<md-title-remainder>eine empirische Analyse unter Einschluss eines länderübergreifenden Vergleichs</md-title-remainder>
-<md-date>2005</md-date>
-<md-author>Seyd, Christofer</md-author>
-<md-description>Dateien im PDF-Format</md-description>
-<md-description>Parallel als Druckausg. erschienen</md-description>
-<md-description>Research in the professional action and the didactical expertise of teachers is a white spot on the map. This study supports the thesis that this is a starting point for the improvement of class teaching. This is first of all true for a certain sector of the spectrum of schools and classes: mathematical lessons in 4th grade elementary school. However, lessons drawn from this sector may well allow conclusions and reasons as well as chances for improvements for the observations made in the cited comparative intercultural Studies</md-description></location>
-<relevance>0</relevance>
-<recid>title das profunde verst ndnis fundamentaler mathematik von lehrkr ften als ausgangspunkt f r eine verbesserung der unterrichtsqualit t author seyd christofer</recid>
-</hit>
-<hit>
-
-<md-title>Das Programm der Bildung für nachhaltige Entwicklung</md-title>
-<md-title-remainder>eine systemische Diagnose mit den Schemata Qualität und Nachhaltigkeit</md-title-remainder>
-<md-author>Siemer, Stefan Hermann</md-author>
-<md-description>System protest! This thesis is about communication. About systems, schemata, quality, sustainability, about education and education for sustainable development. This thesis is about the question what constitutes good education for sustainable development. This thesis is about the manifold problems following such questions. This thesis is about ways out of these manifold problems that only appear, however, when you&amp;rsquo;re not looking for them</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>Das Programm der Bildung für nachhaltige Entwicklung</md-title>
-<md-title-remainder>eine systemische Diagnose mit den Schemata Qualität und Nachhaltigkeit</md-title-remainder>
-<md-author>Siemer, Stefan Hermann</md-author>
-<md-description>Parallel als Druckausg. erschienen</md-description>
-<md-description>System protest! This thesis is about communication. About systems, schemata, quality, sustainability, about education and education for sustainable development. This thesis is about the question what constitutes good education for sustainable development. This thesis is about the manifold problems following such questions. This thesis is about ways out of these manifold problems that only appear, however, when you&amp;rsquo;re not looking for them</md-description></location>
-<relevance>0</relevance>
-<recid>title das programm der bildung f r nachhaltige entwicklung author siemer stefan hermann</recid>
-</hit>
-<hit>
-
-<md-title>Die Praxis der Orgelstimmung in Norddeutschland im 17. und 18 Jahrhundert und ihr Verhältnis zur zeitgenössischen Musikpraxis</md-title>
-<md-date>2007</md-date>
-<md-author>Ortgies, Ibo</md-author>
-<md-description>Mit Genehmigung des Autors von elektronischer Ressource ausgedr. Ex</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>Die Praxis der Orgelstimmung in Norddeutschland im 17. und 18 Jahrhundert und ihr Verhältnis zur zeitgenössischen Musikpraxis</md-title>
-<md-date>2007</md-date>
-<md-author>Ortgies, Ibo</md-author>
-<md-description>Mit Genehmigung des Autors von elektronischer Ressource ausgedr. Ex</md-description></location>
-<relevance>0</relevance>
-<recid>title die praxis der orgelstimmung in norddeutschland im und jahrhundert und ihr verh ltnis zur zeitgen ssischen musikpraxis author ortgies ibo</recid>
-</hit>
-<hit>
-
-<md-title>Eleanor&apos;s victory</md-title>
-<md-title-remainder>: in 2 vol</md-title-remainder>
-<md-author>Braddon, Mary E</md-author>
-<md-description>digitised: 2004 - 2005</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>Eleanor&apos;s victory</md-title>
-<md-title-remainder>: in 2 vol</md-title-remainder>
-<md-author>Braddon, Mary E</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>Eleanor&apos;s victory</md-title>
-<md-title-remainder>: in 2 vol</md-title-remainder>
-<md-author>Braddon, Mary E</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<count>2</count>
-<relevance>0</relevance>
-<recid>title eleanor s victory author braddon mary e</recid>
-</hit>
-<hit>
-
-<md-title>Henry Dunbar</md-title>
-<md-title-remainder>: the story of an outcast; in 2 vol</md-title-remainder>
-<md-author>Braddon, Mary E</md-author>
-<md-description>digitised: 2004 - 2005</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>Henry Dunbar</md-title>
-<md-title-remainder>: the story of an outcast; in 2 vol</md-title-remainder>
-<md-author>Braddon, Mary E</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>Henry Dunbar</md-title>
-<md-title-remainder>: the story of an outcast; in 2 vol</md-title-remainder>
-<md-author>Braddon, Mary E</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<count>2</count>
-<relevance>0</relevance>
-<recid>title henry dunbar author braddon mary e</recid>
-</hit>
-<hit>
-
-<md-title>Kompetenz und Kreativität</md-title>
-<md-title-remainder>: eine Universität in Entwicklung; Hartwig Donner zum 60. Geburtstag</md-title-remainder>
-<md-date>2001</md-date>
-<md-description>Parallel als Online-Ausg. erschienen unter der Adresse &lt;1&gt;html =A http://www.gbv.de/dms/lueneburg/LG/OPUS/2001/78/pdf/donner1.pdf</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>Kompetenz und Kreativität</md-title>
-<md-title-remainder>: eine Universität in Entwicklung; Hartwig Donner zum 60. Geburtstag</md-title-remainder>
-<md-date>2001</md-date>
-<md-description>Literaturangaben</md-description>
-<md-description>Parallel als Online-Ausg. erschienen unter der Adresse &lt;1&gt;html =A http://www.gbv.de/dms/lueneburg/LG/OPUS/2001/78/pdf/donner1.pdf</md-description></location>
-<location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>Kompetenz und Kreativität</md-title>
-<md-title-remainder>eine Universität in Entwicklung ; Hartwig Donner zum 60. Geburtstag</md-title-remainder>
-<md-description>Parallel als Druckausg. erschienen</md-description>
-<md-description>Universität Lüneburg, Festschrift</md-description></location>
-<count>2</count>
-<relevance>0</relevance>
-<recid>title kompetenz und kreativit t</recid>
-</hit>
-<hit>
-
-<md-title>Le génie logiciel &amp; ses applications</md-title>
-<md-title-remainder>huitièmes journées internationales ; 15 - 17 novembre 1995, Paris, La Défense ; actes = Software engineering &amp; its applications</md-title-remainder>
-<md-date>1995</md-date><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>Le génie logiciel &amp; ses applications</md-title>
-<md-title-remainder>huitièmes journées internationales ; 15 - 17 novembre 1995, Paris, La Défense ; actes = Software engineering &amp; its applications</md-title-remainder>
-<md-date>1995</md-date></location>
-<relevance>0</relevance>
-<recid>title le g nie logiciel ses applications</recid>
-</hit>
-<hit>
-
-<md-title>Netzwerk Kinderschutz in Berlin</md-title>
-<md-title-remainder>dynamische Prozesse zwischen Pflicht und Kür ; erste Erfahrungen [Bachelor-Thesis]</md-title-remainder>
-<md-date>2009</md-date>
-<md-author>Fischer, Nina</md-author>
-<md-description>Anhang S. 44 - 182. Literaturverz. S. 35 - 39</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>Netzwerk Kinderschutz in Berlin</md-title>
-<md-title-remainder>dynamische Prozesse zwischen Pflicht und Kür ; erste Erfahrungen [Bachelor-Thesis]</md-title-remainder>
-<md-date>2009</md-date>
-<md-author>Fischer, Nina</md-author>
-<md-description>Anhang S. 44 - 182. Literaturverz. S. 35 - 39</md-description></location>
-<relevance>0</relevance>
-<recid>title netzwerk kinderschutz in berlin author fischer nina</recid>
-</hit>
-<hit>
-
-<md-title>Tales of the priory</md-title>
-<md-title-remainder>: in 4 vol</md-title-remainder>
-<md-author>Hofland, Barbara</md-author>
-<md-description>digitised: 2004 - 2005</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>Tales of the priory</md-title>
-<md-title-remainder>: in 4 vol</md-title-remainder>
-<md-author>Hofland, Barbara</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<relevance>0</relevance>
-<recid>title tales of the priory author hofland barbara</recid>
-</hit>
-<hit>
-
-<md-title>The beggar girl and her benefactors</md-title>
-<md-title-remainder>: in 7 vol</md-title-remainder>
-<md-author>Bennett, Agnes M</md-author>
-<md-description>digitised: 2004 - 2005</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>The beggar girl and her benefactors</md-title>
-<md-title-remainder>: in 7 vol</md-title-remainder>
-<md-author>Bennett, Agnes M</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>The beggar girl and her benefactors</md-title>
-<md-title-remainder>: in 7 vol</md-title-remainder>
-<md-author>Bennett, Agnes M</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<count>2</count>
-<relevance>0</relevance>
-<recid>title the beggar girl and her benefactors author bennett agnes m</recid>
-</hit>
-<hit>
-
-<md-title>The marriage of the favourite</md-title>
-<md-title-remainder>: or, she bred him a soldier; a novel; in 3 vol</md-title-remainder>
-<md-author>Pickering, Ellen</md-author>
-<md-description>digitised: 2004 - 2005</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>The marriage of the favourite</md-title>
-<md-title-remainder>: or, she bred him a soldier; a novel; in 3 vol</md-title-remainder>
-<md-author>Pickering, Ellen</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<relevance>0</relevance>
-<recid>title the marriage of the favourite author pickering ellen</recid>
-</hit>
-<hit>
-
-<md-title>The shrine of Bertha</md-title>
-<md-title-remainder>: a novel; in 2 vol</md-title-remainder>
-<md-author>Robinson, Mary E</md-author>
-<md-description>digitised: 2004 - 2005</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>The shrine of Bertha</md-title>
-<md-title-remainder>: a novel; in 2 vol</md-title-remainder>
-<md-author>Robinson, Mary E</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>The shrine of Bertha</md-title>
-<md-title-remainder>: a novel; in 2 vol</md-title-remainder>
-<md-author>Robinson, Mary E</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<count>2</count>
-<relevance>0</relevance>
-<recid>title the shrine of bertha author robinson mary e</recid>
-</hit>
-<hit>
-
-<md-title>The wedding day</md-title>
-<md-title-remainder>: a novel</md-title-remainder>
-<md-author>Spence, Elizabeth I</md-author>
-<md-description>digitised: 2004 - 2005</md-description><location id="gso.gbv.de/sru/DB=2.1" name="GBV SRU MARC">
-<md-title>The wedding day</md-title>
-<md-title-remainder>: a novel</md-title-remainder>
-<md-author>Spence, Elizabeth I</md-author>
-<md-description>digitised: 2004 - 2005</md-description></location>
-<relevance>0</relevance>
-<recid>title the wedding day author spence elizabeth i</recid>
-</hit>
+<num>0</num>
 </show>
diff --git a/test/test_sru_4.res b/test/test_sru_4.res
new file mode 100644 (file)
index 0000000..e69de29