X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=tests%2Falphabet.xml.summary;h=cc9ae7d2badb1a8641d4d48abfef50746cb8aa7e;hp=bf9f0ecfb471287170e7e848aa634f3786372f6a;hb=556c8805fcfd27f485bdd63cd704e4df7eac8a06;hpb=ebe172413cade8d324561a0279b9b8017b9a2fc0 diff --git a/tests/alphabet.xml.summary b/tests/alphabet.xml.summary index bf9f0ec..cc9ae7d 100644 --- a/tests/alphabet.xml.summary +++ b/tests/alphabet.xml.summary @@ -1,8 +1,487 @@ +Query: A1 : //L/* +STATS: parsing xml document: 0.199080ms +STATS: parsing XPath query: 0.056028ms +STATS: compiling XPath query: 0.133991ms +STATS: Query: /descendant-or-self::node()/child::L/child::* +STATS: Automaton: +STATS: evaluating query: 0.764132ms +STATS: serializing results: 1.646996ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 809 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 933, used: 124, occupation: 0.132905 +Diff: ok +------------------------------------------- +Query: A2 : //L/parent::* +STATS: parsing xml document: 0.370979ms +STATS: parsing XPath query: 0.051022ms +STATS: compiling XPath query: 0.166893ms +STATS: Query: /descendant-or-self::node()/child::L/parent::* +STATS: Automaton: +STATS: evaluating query: 2.008915ms +STATS: serializing results: 1.794100ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1310 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1464, used: 154, occupation: 0.105191 +Diff: ok +------------------------------------------- +Query: A3 : //L/descendant::* +STATS: parsing xml document: 0.369072ms +STATS: parsing XPath query: 0.089884ms +STATS: compiling XPath query: 0.217915ms +STATS: Query: /descendant-or-self::node()/child::L/descendant::* +STATS: Automaton: +STATS: evaluating query: 2.200127ms +STATS: serializing results: 1.621008ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 918 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1060, used: 142, occupation: 0.133962 +Diff: ok +------------------------------------------- +Query: A4 : //L/descendant-or-self::* +STATS: parsing xml document: 0.438929ms +STATS: parsing XPath query: 0.048876ms +STATS: compiling XPath query: 0.180006ms +STATS: Query: /descendant-or-self::node()/child::L/descendant-or-self::* +STATS: Automaton: +STATS: evaluating query: 2.231836ms +STATS: serializing results: 1.777887ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 918 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1060, used: 142, occupation: 0.133962 +Diff: ok +------------------------------------------- +Query: A5 : //L/ancestor::* +STATS: parsing xml document: 0.365973ms +STATS: parsing XPath query: 0.051022ms +STATS: compiling XPath query: 0.172138ms +STATS: Query: /descendant-or-self::node()/child::L/ancestor::* +STATS: Automaton: +STATS: evaluating query: 2.207994ms +STATS: serializing results: 2.154827ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1320 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1476, used: 156, occupation: 0.105691 +Diff: ok +------------------------------------------- +Query: A6 : //L/ancestor-or-self::* +STATS: parsing xml document: 0.367165ms +STATS: parsing XPath query: 0.046968ms +STATS: compiling XPath query: 0.205994ms +STATS: Query: /descendant-or-self::node()/child::L/ancestor-or-self::* +STATS: Automaton: +STATS: evaluating query: 2.345800ms +STATS: serializing results: 2.530098ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1242 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1397, used: 155, occupation: 0.110952 +Diff: ok +------------------------------------------- +Query: A7 : //L/following-sibling::* +STATS: parsing xml document: 0.364780ms +STATS: parsing XPath query: 0.059128ms +STATS: compiling XPath query: 0.162125ms +STATS: Query: /descendant-or-self::node()/child::L/following-sibling::* +STATS: Automaton: +STATS: evaluating query: 1.799107ms +STATS: serializing results: 1.568079ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1051 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1173, used: 122, occupation: 0.104007 +Diff: ok +------------------------------------------- +Query: A8 : //L/preceding-sibling::* +STATS: parsing xml document: 0.370979ms +STATS: parsing XPath query: 0.053883ms +STATS: compiling XPath query: 0.162840ms +STATS: Query: /descendant-or-self::node()/child::L/preceding-sibling::* +STATS: Automaton: +STATS: evaluating query: 1.916885ms +STATS: serializing results: 4.055023ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1174 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1314, used: 140, occupation: 0.106545 +Diff: ok +------------------------------------------- +Query: A9 : //L/following::* +STATS: parsing xml document: 0.372887ms +STATS: parsing XPath query: 0.051022ms +STATS: compiling XPath query: 0.334978ms +STATS: Query: /descendant-or-self::node()/child::L/ancestor-or-self::node()/following-sibling::node()/descendant-or-self::* +STATS: Automaton: +STATS: evaluating query: 6.406069ms +STATS: serializing results: 1.731873ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 2104 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 2334, used: 230, occupation: 0.098543 +Diff: ok +------------------------------------------- +Query: A10 : //L/preceding::* +STATS: parsing xml document: 0.368118ms +STATS: parsing XPath query: 0.054836ms +STATS: compiling XPath query: 0.283003ms +STATS: Query: /descendant-or-self::node()/child::L/ancestor-or-self::node()/preceding-sibling::node()/descendant-or-self::* +STATS: Automaton: +STATS: evaluating query: 7.886887ms +STATS: serializing results: 1.865149ms +STATS: 2 iterations +STATS: automaton 0, cache2: 0 entries, cache6: 942 entries +STATS: cache2: length: 0, used: 0, occupation: -nan +STATS: cache4: length: 1077, used: 135, occupation: 0.125348 +Diff: ok +------------------------------------------- +Query: A11 : //L/self::* +STATS: parsing xml document: 0.392914ms +STATS: parsing XPath query: 0.047922ms +STATS: compiling XPath query: 0.177145ms +STATS: Query: /descendant-or-self::node()/child::L/self::* +STATS: Automaton: +STATS: evaluating query: 1.735926ms +STATS: serializing results: 1.796961ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 837 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 946, used: 109, occupation: 0.115222 +Diff: ok +------------------------------------------- +Query: A12 : //L/@id/parent::* +STATS: parsing xml document: 0.378132ms +STATS: parsing XPath query: 0.059843ms +STATS: compiling XPath query: 0.287056ms +STATS: Query: /descendant-or-self::node()/child::L/attribute::@id/parent::* +STATS: Automaton: +STATS: evaluating query: 2.931833ms +STATS: serializing results: 1.657963ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1594 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1750, used: 156, occupation: 0.089143 +Diff: ok +------------------------------------------- +Query: P1 : //*[L] +STATS: parsing xml document: 0.357866ms +STATS: parsing XPath query: 0.046968ms +STATS: compiling XPath query: 0.152111ms +STATS: Query: /descendant-or-self::node()/child::*[ child::L ] +STATS: Automaton: +STATS: evaluating query: 1.730204ms +STATS: serializing results: 1.868010ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1326 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1480, used: 154, occupation: 0.104054 +Diff: ok +------------------------------------------- +Query: P2 : //*[parent::L] +STATS: parsing xml document: 0.372171ms +STATS: parsing XPath query: 0.052929ms +STATS: compiling XPath query: 0.166893ms +STATS: Query: /descendant-or-self::node()/child::*[ parent::L ] +STATS: Automaton: +STATS: evaluating query: 1.759052ms +STATS: serializing results: 1.687050ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 809 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 933, used: 124, occupation: 0.132905 +Diff: ok +------------------------------------------- +Query: P3 : //*[descendant::L] +STATS: parsing xml document: 0.368834ms +STATS: parsing XPath query: 0.045776ms +STATS: compiling XPath query: 0.169039ms +STATS: Query: /descendant-or-self::node()/child::*[ descendant::L ] +STATS: Automaton: +STATS: evaluating query: 1.796007ms +STATS: serializing results: 2.280951ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1336 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1492, used: 156, occupation: 0.104558 +Diff: ok +------------------------------------------- +Query: P4 : //*[descendant-or-self::L] +STATS: parsing xml document: 0.386953ms +STATS: parsing XPath query: 0.049829ms +STATS: compiling XPath query: 0.176907ms +STATS: Query: /descendant-or-self::node()/child::*[ descendant-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 2.150059ms +STATS: serializing results: 2.135992ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1242 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1397, used: 155, occupation: 0.110952 +Diff: ok +------------------------------------------- +Query: P5 : //*[ancestor::L] +STATS: parsing xml document: 0.374079ms +STATS: parsing XPath query: 0.050068ms +STATS: compiling XPath query: 0.192165ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor::L ] +STATS: Automaton: +STATS: evaluating query: 1.835823ms +STATS: serializing results: 1.564980ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 918 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1060, used: 142, occupation: 0.133962 +Diff: ok +------------------------------------------- +Query: P6 : //*[ancestor-or-self::L] +STATS: parsing xml document: 0.431061ms +STATS: parsing XPath query: 0.049114ms +STATS: compiling XPath query: 0.180960ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 1.905918ms +STATS: serializing results: 1.775026ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 918 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1060, used: 142, occupation: 0.133962 +Diff: ok +------------------------------------------- +Query: P7 : //*[following-sibling::L] +STATS: parsing xml document: 0.376940ms +STATS: parsing XPath query: 0.046015ms +STATS: compiling XPath query: 0.154972ms +STATS: Query: /descendant-or-self::node()/child::*[ following-sibling::L ] +STATS: Automaton: +STATS: evaluating query: 1.612902ms +STATS: serializing results: 1.538992ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1174 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1314, used: 140, occupation: 0.106545 +Diff: ok +------------------------------------------- +Query: P8 : //*[preceding-sibling::L] +STATS: parsing xml document: 0.437021ms +STATS: parsing XPath query: 0.058889ms +STATS: compiling XPath query: 0.155210ms +STATS: Query: /descendant-or-self::node()/child::*[ preceding-sibling::L ] +STATS: Automaton: +STATS: evaluating query: 1.534939ms +STATS: serializing results: 1.504898ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1051 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1173, used: 122, occupation: 0.104007 +Diff: ok +------------------------------------------- +Query: P9 : //*[following::L] +STATS: parsing xml document: 0.350952ms +STATS: parsing XPath query: 0.050068ms +STATS: compiling XPath query: 0.226021ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor-or-self::node()/following-sibling::node()/descendant-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 6.453037ms +STATS: serializing results: 1.742840ms +STATS: 2 iterations +STATS: automaton 0, cache2: 0 entries, cache6: 780 entries +STATS: cache2: length: 0, used: 0, occupation: -nan +STATS: cache4: length: 915, used: 135, occupation: 0.147541 +Diff: ok +------------------------------------------- +Query: P10 : //*[preceding::L] +STATS: parsing xml document: 0.368118ms +STATS: parsing XPath query: 0.055075ms +STATS: compiling XPath query: 0.227928ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor-or-self::node()/preceding-sibling::node()/descendant-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 3.612041ms +STATS: serializing results: 1.841068ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1767 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1980, used: 213, occupation: 0.107576 +Diff: ok +------------------------------------------- +Query: P11 : //*[self::L] +STATS: parsing xml document: 0.166178ms +STATS: parsing XPath query: 0.030041ms +STATS: compiling XPath query: 0.080109ms +STATS: Query: /descendant-or-self::node()/child::*[ self::L ] +STATS: Automaton: +STATS: evaluating query: 0.607967ms +STATS: serializing results: 1.639128ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 837 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 946, used: 109, occupation: 0.115222 +Diff: ok +------------------------------------------- +Query: P12 : //*[@id] +STATS: parsing xml document: 0.366926ms +STATS: parsing XPath query: 0.043869ms +STATS: compiling XPath query: 0.211954ms +STATS: Query: /descendant-or-self::node()/child::*[ attribute::@id ] +STATS: Automaton: +STATS: evaluating query: 1.461983ms +STATS: serializing results: 2.345085ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 907 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 1022, used: 115, occupation: 0.112524 +Diff: ok +------------------------------------------- +Query: T1 : //L/text() +STATS: parsing xml document: 0.365973ms +STATS: parsing XPath query: 0.055075ms +STATS: compiling XPath query: 0.200987ms +STATS: Query: /descendant-or-self::node()/child::L/child::text() +STATS: Automaton: +STATS: evaluating query: 2.068043ms +STATS: serializing results: 1.474857ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 809 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 933, used: 124, occupation: 0.132905 +Diff: ok +------------------------------------------- +Query: T2 : //L/comment() +STATS: parsing xml document: 0.478983ms +STATS: parsing XPath query: 0.068903ms +STATS: compiling XPath query: 0.209093ms +STATS: Query: /descendant-or-self::node()/child::L/child::comment() +STATS: Automaton: +STATS: evaluating query: 2.010107ms +STATS: serializing results: 1.503944ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 809 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 933, used: 124, occupation: 0.132905 +Diff: ok +------------------------------------------- +Query: T3 : //L/processing-instruction() +STATS: parsing xml document: 0.419855ms +STATS: parsing XPath query: 0.075102ms +STATS: compiling XPath query: 0.198841ms +STATS: Query: /descendant-or-self::node()/child::L/child::processing-instruction() +STATS: Automaton: +STATS: evaluating query: 2.058029ms +STATS: serializing results: 1.420975ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 809 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 933, used: 124, occupation: 0.132905 +Diff: ok +------------------------------------------- +Query: T4 : //L/processing-instruction("myPI") +STATS: parsing xml document: 0.360966ms +STATS: parsing XPath query: 0.072002ms +STATS: compiling XPath query: 0.195026ms +STATS: Query: /descendant-or-self::node()/child::L/child::processing-instruction('?myPI') +STATS: Automaton: +STATS: evaluating query: 1.106977ms +STATS: serializing results: 2.144098ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 809 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 933, used: 124, occupation: 0.132905 +Diff: ok +------------------------------------------- +Query: T5 : //L/node() +STATS: parsing xml document: 0.380993ms +STATS: parsing XPath query: 0.056028ms +STATS: compiling XPath query: 0.200033ms +STATS: Query: /descendant-or-self::node()/child::L/child::node() +STATS: Automaton: +STATS: evaluating query: 2.035141ms +STATS: serializing results: 1.604080ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 809 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 933, used: 124, occupation: 0.132905 +Diff: ok +------------------------------------------- +Query: T6 : //L/N +STATS: parsing xml document: 0.368834ms +STATS: parsing XPath query: 0.048161ms +STATS: compiling XPath query: 0.205040ms +STATS: Query: /descendant-or-self::node()/child::L/child::N +STATS: Automaton: +STATS: evaluating query: 2.115011ms +STATS: serializing results: 1.475811ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 819 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 952, used: 133, occupation: 0.139706 +Diff: ok +------------------------------------------- +Query: T7 : //L/* +STATS: parsing xml document: 0.386000ms +STATS: parsing XPath query: 0.040054ms +STATS: compiling XPath query: 0.193834ms +STATS: Query: /descendant-or-self::node()/child::L/child::* +STATS: Automaton: +STATS: evaluating query: 2.058029ms +STATS: serializing results: 1.773119ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 809 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 933, used: 124, occupation: 0.132905 +Diff: ok +------------------------------------------- +Query: O1 : //*[child::* and preceding::Q] +STATS: parsing xml document: 0.367880ms +STATS: parsing XPath query: 0.056028ms +STATS: compiling XPath query: 0.261068ms +STATS: Query: /descendant-or-self::node()/child::*[ child::* and ancestor-or-self::node()/preceding-sibling::node()/descendant-or-self::Q ] +STATS: Automaton: +STATS: evaluating query: 5.534887ms +STATS: serializing results: 1.616001ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1873 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 2090, used: 217, occupation: 0.103828 +Diff: ok +------------------------------------------- +Query: O2 : //*[not(child::*) and preceding::Q] +STATS: parsing xml document: 0.366926ms +STATS: parsing XPath query: 0.066042ms +STATS: compiling XPath query: 0.269890ms +STATS: Query: /descendant-or-self::node()/child::*[ not(child::*) and ancestor-or-self::node()/preceding-sibling::node()/descendant-or-self::Q ] +STATS: Automaton: +STATS: evaluating query: 5.399942ms +STATS: serializing results: 1.590014ms +STATS: 1 iterations +STATS: automaton 0, cache2: 70 entries, cache6: 1873 entries +STATS: cache2: length: 105, used: 35, occupation: 0.333333 +STATS: cache4: length: 2090, used: 217, occupation: 0.103828 +Diff: ok +------------------------------------------- +Query: O3 : //*[preceding::L or following::L] +STATS: parsing xml document: 0.382900ms +STATS: parsing XPath query: 0.059843ms +STATS: compiling XPath query: 0.327826ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor-or-self::node()/preceding-sibling::node()/descendant-or-self::L or ancestor-or-self::node()/following-sibling::node()/descendant-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 10.667086ms +STATS: serializing results: 2.055883ms +STATS: 2 iterations +STATS: automaton 0, cache2: 0 entries, cache6: 610 entries +STATS: cache2: length: 0, used: 0, occupation: -nan +STATS: cache4: length: 778, used: 168, occupation: 0.215938 +Diff: ok +------------------------------------------- Query: O4 : //L/ancestor::* | //L/descendant::* +STATS: parsing xml document: 0.379086ms +STATS: parsing XPath query: 0.050068ms +STATS: compiling XPath query: 0.426054ms STATS: Query: /descendant-or-self::node()/child::L/ancestor::* | /descendant-or-self::node()/child::L/descendant::* STATS: Automaton: -STATS: evaluation time: 7.114887ms -STATS: serialization time: 0.150919ms +STATS: evaluating query: 7.055044ms +STATS: serializing results: 2.132177ms STATS: 1 iterations STATS: automaton 0, cache2: 70 entries, cache6: 2345 entries STATS: cache2: length: 105, used: 35, occupation: 0.333333