X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=tests%2Falphabet.xml.summary;h=b84f81ed3a2e3bb299da66d36d907cd498435390;hp=bf9f0ecfb471287170e7e848aa634f3786372f6a;hb=ff22f9cdf128206981144d94644a02caa70ad873;hpb=ebe172413cade8d324561a0279b9b8017b9a2fc0 diff --git a/tests/alphabet.xml.summary b/tests/alphabet.xml.summary index bf9f0ec..b84f81e 100644 --- a/tests/alphabet.xml.summary +++ b/tests/alphabet.xml.summary @@ -1,8 +1,487 @@ +Query: A1 : //L/* +STATS: parsing xml document: 0.375986ms +STATS: parsing XPath query: 0.036001ms +STATS: compiling XPath query: 0.203133ms +STATS: Query: /descendant-or-self::node()/child::L/child::* +STATS: Automaton: +STATS: evaluating query: 2.120018ms +STATS: serializing results: 1.610041ms +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.386000ms +STATS: parsing XPath query: 0.042915ms +STATS: compiling XPath query: 0.164032ms +STATS: Query: /descendant-or-self::node()/child::L/parent::* +STATS: Automaton: +STATS: evaluating query: 1.954079ms +STATS: serializing results: 1.950026ms +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.361919ms +STATS: parsing XPath query: 0.036955ms +STATS: compiling XPath query: 0.213861ms +STATS: Query: /descendant-or-self::node()/child::L/descendant::* +STATS: Automaton: +STATS: evaluating query: 2.192974ms +STATS: serializing results: 1.615047ms +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.368118ms +STATS: parsing XPath query: 0.087023ms +STATS: compiling XPath query: 0.189066ms +STATS: Query: /descendant-or-self::node()/child::L/descendant-or-self::* +STATS: Automaton: +STATS: evaluating query: 2.336025ms +STATS: serializing results: 1.883030ms +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.364065ms +STATS: parsing XPath query: 0.037909ms +STATS: compiling XPath query: 0.165939ms +STATS: Query: /descendant-or-self::node()/child::L/ancestor::* +STATS: Automaton: +STATS: evaluating query: 2.583027ms +STATS: serializing results: 2.183914ms +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.574827ms +STATS: parsing XPath query: 0.056028ms +STATS: compiling XPath query: 0.334024ms +STATS: Query: /descendant-or-self::node()/child::L/ancestor-or-self::* +STATS: Automaton: +STATS: evaluating query: 3.679037ms +STATS: serializing results: 2.243042ms +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.149012ms +STATS: parsing XPath query: 0.021935ms +STATS: compiling XPath query: 0.066042ms +STATS: Query: /descendant-or-self::node()/child::L/following-sibling::* +STATS: Automaton: +STATS: evaluating query: 0.725985ms +STATS: serializing results: 1.456976ms +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.148058ms +STATS: parsing XPath query: 0.023842ms +STATS: compiling XPath query: 0.062943ms +STATS: Query: /descendant-or-self::node()/child::L/preceding-sibling::* +STATS: Automaton: +STATS: evaluating query: 0.781059ms +STATS: serializing results: 1.357079ms +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.370979ms +STATS: parsing XPath query: 0.042915ms +STATS: compiling XPath query: 0.288963ms +STATS: Query: /descendant-or-self::node()/child::L/ancestor-or-self::node()/following-sibling::node()/descendant-or-self::* +STATS: Automaton: +STATS: evaluating query: 6.980896ms +STATS: serializing results: 1.842976ms +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.371933ms +STATS: parsing XPath query: 0.046968ms +STATS: compiling XPath query: 0.277996ms +STATS: Query: /descendant-or-self::node()/child::L/ancestor-or-self::node()/preceding-sibling::node()/descendant-or-self::* +STATS: Automaton: +STATS: evaluating query: 8.105993ms +STATS: serializing results: 1.837969ms +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.518084ms +STATS: parsing XPath query: 0.062943ms +STATS: compiling XPath query: 0.202179ms +STATS: Query: /descendant-or-self::node()/child::L/self::* +STATS: Automaton: +STATS: evaluating query: 1.765013ms +STATS: serializing results: 1.644850ms +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.440121ms +STATS: parsing XPath query: 0.053883ms +STATS: compiling XPath query: 0.241041ms +STATS: Query: /descendant-or-self::node()/child::L/attribute::@id/parent::* +STATS: Automaton: +STATS: evaluating query: 3.050089ms +STATS: serializing results: 1.691103ms +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.403881ms +STATS: parsing XPath query: 0.046968ms +STATS: compiling XPath query: 0.208855ms +STATS: Query: /descendant-or-self::node()/child::*[ child::L ] +STATS: Automaton: +STATS: evaluating query: 2.264977ms +STATS: serializing results: 1.861095ms +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.488997ms +STATS: parsing XPath query: 0.049829ms +STATS: compiling XPath query: 0.171900ms +STATS: Query: /descendant-or-self::node()/child::*[ parent::L ] +STATS: Automaton: +STATS: evaluating query: 1.897097ms +STATS: serializing results: 1.640081ms +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.370026ms +STATS: parsing XPath query: 0.042915ms +STATS: compiling XPath query: 0.175953ms +STATS: Query: /descendant-or-self::node()/child::*[ descendant::L ] +STATS: Automaton: +STATS: evaluating query: 1.796007ms +STATS: serializing results: 2.020121ms +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.371933ms +STATS: parsing XPath query: 0.043869ms +STATS: compiling XPath query: 0.185966ms +STATS: Query: /descendant-or-self::node()/child::*[ descendant-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 2.321959ms +STATS: serializing results: 2.125025ms +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.358820ms +STATS: parsing XPath query: 0.041962ms +STATS: compiling XPath query: 0.192881ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor::L ] +STATS: Automaton: +STATS: evaluating query: 1.881123ms +STATS: serializing results: 1.569033ms +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.365973ms +STATS: parsing XPath query: 0.043869ms +STATS: compiling XPath query: 0.189066ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 2.273083ms +STATS: serializing results: 1.817942ms +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.370026ms +STATS: parsing XPath query: 0.044107ms +STATS: compiling XPath query: 0.164032ms +STATS: Query: /descendant-or-self::node()/child::*[ following-sibling::L ] +STATS: Automaton: +STATS: evaluating query: 1.653910ms +STATS: serializing results: 1.550913ms +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.367880ms +STATS: parsing XPath query: 0.049114ms +STATS: compiling XPath query: 0.164986ms +STATS: Query: /descendant-or-self::node()/child::*[ preceding-sibling::L ] +STATS: Automaton: +STATS: evaluating query: 1.538992ms +STATS: serializing results: 1.570940ms +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.445127ms +STATS: parsing XPath query: 0.042915ms +STATS: compiling XPath query: 0.234127ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor-or-self::node()/following-sibling::node()/descendant-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 7.771015ms +STATS: serializing results: 1.768112ms +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.387192ms +STATS: parsing XPath query: 0.058889ms +STATS: compiling XPath query: 0.237942ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor-or-self::node()/preceding-sibling::node()/descendant-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 4.338026ms +STATS: serializing results: 1.936913ms +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.246048ms +STATS: parsing XPath query: 0.040054ms +STATS: compiling XPath query: 0.104904ms +STATS: Query: /descendant-or-self::node()/child::*[ self::L ] +STATS: Automaton: +STATS: evaluating query: 0.613928ms +STATS: serializing results: 1.585007ms +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.401974ms +STATS: parsing XPath query: 0.066042ms +STATS: compiling XPath query: 0.286818ms +STATS: Query: /descendant-or-self::node()/child::*[ attribute::@id ] +STATS: Automaton: +STATS: evaluating query: 1.514912ms +STATS: serializing results: 2.412796ms +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.167847ms +STATS: parsing XPath query: 0.054121ms +STATS: compiling XPath query: 0.205994ms +STATS: Query: /descendant-or-self::node()/child::L/child::text() +STATS: Automaton: +STATS: evaluating query: 2.181053ms +STATS: serializing results: 1.456022ms +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.375986ms +STATS: parsing XPath query: 0.061035ms +STATS: compiling XPath query: 0.207901ms +STATS: Query: /descendant-or-self::node()/child::L/child::comment() +STATS: Automaton: +STATS: evaluating query: 2.149820ms +STATS: serializing results: 1.460075ms +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.547886ms +STATS: parsing XPath query: 0.077963ms +STATS: compiling XPath query: 0.247002ms +STATS: Query: /descendant-or-self::node()/child::L/child::processing-instruction() +STATS: Automaton: +STATS: evaluating query: 2.171040ms +STATS: serializing results: 1.477957ms +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.364065ms +STATS: parsing XPath query: 0.076056ms +STATS: compiling XPath query: 0.206947ms +STATS: Query: /descendant-or-self::node()/child::L/child::processing-instruction('?myPI') +STATS: Automaton: +STATS: evaluating query: 2.166033ms +STATS: serializing results: 1.529932ms +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.372171ms +STATS: parsing XPath query: 0.053167ms +STATS: compiling XPath query: 0.200987ms +STATS: Query: /descendant-or-self::node()/child::L/child::node() +STATS: Automaton: +STATS: evaluating query: 2.104998ms +STATS: serializing results: 1.624107ms +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.363827ms +STATS: parsing XPath query: 0.041962ms +STATS: compiling XPath query: 0.200987ms +STATS: Query: /descendant-or-self::node()/child::L/child::N +STATS: Automaton: +STATS: evaluating query: 2.289057ms +STATS: serializing results: 1.558065ms +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.360012ms +STATS: parsing XPath query: 0.042915ms +STATS: compiling XPath query: 0.295162ms +STATS: Query: /descendant-or-self::node()/child::L/child::* +STATS: Automaton: +STATS: evaluating query: 2.148151ms +STATS: serializing results: 1.518011ms +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.401974ms +STATS: parsing XPath query: 0.054121ms +STATS: compiling XPath query: 0.253916ms +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: 6.214142ms +STATS: serializing results: 1.968861ms +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.370026ms +STATS: parsing XPath query: 0.063896ms +STATS: compiling XPath query: 0.282049ms +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.774021ms +STATS: serializing results: 1.709938ms +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.369072ms +STATS: parsing XPath query: 0.078917ms +STATS: compiling XPath query: 0.324965ms +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: 11.293888ms +STATS: serializing results: 2.145052ms +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.369787ms +STATS: parsing XPath query: 0.051975ms +STATS: compiling XPath query: 0.379086ms 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: 6.983995ms +STATS: serializing results: 2.542019ms STATS: 1 iterations STATS: automaton 0, cache2: 70 entries, cache6: 2345 entries STATS: cache2: length: 105, used: 35, occupation: 0.333333