X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=tests%2Falphabet.xml.summary;h=07b834b12931728b40993453c0d6302419ef2659;hp=bf9f0ecfb471287170e7e848aa634f3786372f6a;hb=ff57c96ae37629bfd6ca7695653ac02b4ac013e9;hpb=ebe172413cade8d324561a0279b9b8017b9a2fc0 diff --git a/tests/alphabet.xml.summary b/tests/alphabet.xml.summary index bf9f0ec..07b834b 100644 --- a/tests/alphabet.xml.summary +++ b/tests/alphabet.xml.summary @@ -1,8 +1,487 @@ +Query: A1 : //L/* +STATS: parsing xml document: 0.240088ms +STATS: parsing XPath query: 0.041008ms +STATS: compiling XPath query: 0.134945ms +STATS: Query: /descendant-or-self::node()/child::L/child::* +STATS: Automaton: +STATS: evaluating query: 2.089024ms +STATS: serializing results: 1.500845ms +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.361919ms +STATS: parsing XPath query: 0.053167ms +STATS: compiling XPath query: 0.160933ms +STATS: Query: /descendant-or-self::node()/child::L/parent::* +STATS: Automaton: +STATS: evaluating query: 2.071142ms +STATS: serializing results: 1.811028ms +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.359774ms +STATS: parsing XPath query: 0.046015ms +STATS: compiling XPath query: 0.216961ms +STATS: Query: /descendant-or-self::node()/child::L/descendant::* +STATS: Automaton: +STATS: evaluating query: 2.213001ms +STATS: serializing results: 1.619101ms +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.376225ms +STATS: parsing XPath query: 0.043869ms +STATS: compiling XPath query: 0.181913ms +STATS: Query: /descendant-or-self::node()/child::L/descendant-or-self::* +STATS: Automaton: +STATS: evaluating query: 2.362013ms +STATS: serializing results: 1.754999ms +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.407934ms +STATS: parsing XPath query: 0.046015ms +STATS: compiling XPath query: 0.174046ms +STATS: Query: /descendant-or-self::node()/child::L/ancestor::* +STATS: Automaton: +STATS: evaluating query: 2.144098ms +STATS: serializing results: 2.022982ms +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.368118ms +STATS: parsing XPath query: 0.048161ms +STATS: compiling XPath query: 0.205040ms +STATS: Query: /descendant-or-self::node()/child::L/ancestor-or-self::* +STATS: Automaton: +STATS: evaluating query: 2.430916ms +STATS: serializing results: 2.072096ms +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.356913ms +STATS: parsing XPath query: 0.049829ms +STATS: compiling XPath query: 0.161886ms +STATS: Query: /descendant-or-self::node()/child::L/following-sibling::* +STATS: Automaton: +STATS: evaluating query: 1.810074ms +STATS: serializing results: 1.445055ms +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.368118ms +STATS: parsing XPath query: 0.057936ms +STATS: compiling XPath query: 0.161171ms +STATS: Query: /descendant-or-self::node()/child::L/preceding-sibling::* +STATS: Automaton: +STATS: evaluating query: 1.960993ms +STATS: serializing results: 1.580954ms +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.391960ms +STATS: parsing XPath query: 0.050068ms +STATS: compiling XPath query: 0.283003ms +STATS: Query: /descendant-or-self::node()/child::L/ancestor-or-self::node()/following-sibling::node()/descendant-or-self::* +STATS: Automaton: +STATS: evaluating query: 6.573200ms +STATS: serializing results: 1.810789ms +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.389814ms +STATS: parsing XPath query: 0.053883ms +STATS: compiling XPath query: 0.276089ms +STATS: Query: /descendant-or-self::node()/child::L/ancestor-or-self::node()/preceding-sibling::node()/descendant-or-self::* +STATS: Automaton: +STATS: evaluating query: 8.272886ms +STATS: serializing results: 1.735926ms +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.360966ms +STATS: parsing XPath query: 0.071049ms +STATS: compiling XPath query: 0.149012ms +STATS: Query: /descendant-or-self::node()/child::L/self::* +STATS: Automaton: +STATS: evaluating query: 1.744986ms +STATS: serializing results: 1.600027ms +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.376225ms +STATS: parsing XPath query: 0.060081ms +STATS: compiling XPath query: 0.236034ms +STATS: Query: /descendant-or-self::node()/child::L/attribute::@id/parent::* +STATS: Automaton: +STATS: evaluating query: 3.020048ms +STATS: serializing results: 1.641035ms +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.376940ms +STATS: parsing XPath query: 0.045061ms +STATS: compiling XPath query: 0.167131ms +STATS: Query: /descendant-or-self::node()/child::*[ child::L ] +STATS: Automaton: +STATS: evaluating query: 1.850128ms +STATS: serializing results: 1.837015ms +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.367165ms +STATS: parsing XPath query: 0.052929ms +STATS: compiling XPath query: 0.167847ms +STATS: Query: /descendant-or-self::node()/child::*[ parent::L ] +STATS: Automaton: +STATS: evaluating query: 1.810074ms +STATS: serializing results: 1.551867ms +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.373125ms +STATS: parsing XPath query: 0.058889ms +STATS: compiling XPath query: 0.169039ms +STATS: Query: /descendant-or-self::node()/child::*[ descendant::L ] +STATS: Automaton: +STATS: evaluating query: 0.701904ms +STATS: serializing results: 2.130032ms +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.359058ms +STATS: parsing XPath query: 0.046968ms +STATS: compiling XPath query: 0.170946ms +STATS: Query: /descendant-or-self::node()/child::*[ descendant-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 2.156973ms +STATS: serializing results: 2.150059ms +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.401020ms +STATS: parsing XPath query: 0.049829ms +STATS: compiling XPath query: 0.191927ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor::L ] +STATS: Automaton: +STATS: evaluating query: 1.928091ms +STATS: serializing results: 1.629114ms +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.414848ms +STATS: parsing XPath query: 0.048876ms +STATS: compiling XPath query: 0.191927ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 1.888990ms +STATS: serializing results: 1.803875ms +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.046968ms +STATS: compiling XPath query: 0.154972ms +STATS: Query: /descendant-or-self::node()/child::*[ following-sibling::L ] +STATS: Automaton: +STATS: evaluating query: 1.673937ms +STATS: serializing results: 1.567125ms +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.365973ms +STATS: parsing XPath query: 0.051975ms +STATS: compiling XPath query: 0.156164ms +STATS: Query: /descendant-or-self::node()/child::*[ preceding-sibling::L ] +STATS: Automaton: +STATS: evaluating query: 1.492977ms +STATS: serializing results: 1.503944ms +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.374079ms +STATS: parsing XPath query: 0.050068ms +STATS: compiling XPath query: 0.241995ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor-or-self::node()/following-sibling::node()/descendant-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 6.485939ms +STATS: serializing results: 2.099037ms +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.376940ms +STATS: parsing XPath query: 0.058174ms +STATS: compiling XPath query: 0.231028ms +STATS: Query: /descendant-or-self::node()/child::*[ ancestor-or-self::node()/preceding-sibling::node()/descendant-or-self::L ] +STATS: Automaton: +STATS: evaluating query: 3.906965ms +STATS: serializing results: 1.818180ms +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.378132ms +STATS: parsing XPath query: 0.046015ms +STATS: compiling XPath query: 0.149965ms +STATS: Query: /descendant-or-self::node()/child::*[ self::L ] +STATS: Automaton: +STATS: evaluating query: 1.402855ms +STATS: serializing results: 1.636982ms +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.376225ms +STATS: parsing XPath query: 0.043869ms +STATS: compiling XPath query: 0.188828ms +STATS: Query: /descendant-or-self::node()/child::*[ attribute::@id ] +STATS: Automaton: +STATS: evaluating query: 1.538992ms +STATS: serializing results: 2.470970ms +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.376940ms +STATS: parsing XPath query: 0.061035ms +STATS: compiling XPath query: 0.207186ms +STATS: Query: /descendant-or-self::node()/child::L/child::text() +STATS: Automaton: +STATS: evaluating query: 2.085209ms +STATS: serializing results: 1.515150ms +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.368118ms +STATS: parsing XPath query: 0.070095ms +STATS: compiling XPath query: 0.197172ms +STATS: Query: /descendant-or-self::node()/child::L/child::comment() +STATS: Automaton: +STATS: evaluating query: 2.050161ms +STATS: serializing results: 1.537085ms +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.409842ms +STATS: parsing XPath query: 0.066042ms +STATS: compiling XPath query: 0.194788ms +STATS: Query: /descendant-or-self::node()/child::L/child::processing-instruction() +STATS: Automaton: +STATS: evaluating query: 2.111912ms +STATS: serializing results: 1.474142ms +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.370979ms +STATS: parsing XPath query: 0.077009ms +STATS: compiling XPath query: 0.200033ms +STATS: Query: /descendant-or-self::node()/child::L/child::processing-instruction('?myPI') +STATS: Automaton: +STATS: evaluating query: 2.094984ms +STATS: serializing results: 1.549959ms +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.376940ms +STATS: parsing XPath query: 0.066042ms +STATS: compiling XPath query: 0.196934ms +STATS: Query: /descendant-or-self::node()/child::L/child::node() +STATS: Automaton: +STATS: evaluating query: 2.347946ms +STATS: serializing results: 1.650810ms +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.380993ms +STATS: parsing XPath query: 0.046968ms +STATS: compiling XPath query: 0.207901ms +STATS: Query: /descendant-or-self::node()/child::L/child::N +STATS: Automaton: +STATS: evaluating query: 2.187967ms +STATS: serializing results: 1.534939ms +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.377178ms +STATS: parsing XPath query: 0.045061ms +STATS: compiling XPath query: 0.200033ms +STATS: Query: /descendant-or-self::node()/child::L/child::* +STATS: Automaton: +STATS: evaluating query: 2.017975ms +STATS: serializing results: 4.548073ms +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.369072ms +STATS: parsing XPath query: 0.070095ms +STATS: compiling XPath query: 0.281096ms +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.612135ms +STATS: serializing results: 1.718998ms +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.373125ms +STATS: parsing XPath query: 0.063896ms +STATS: compiling XPath query: 0.267982ms +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.904198ms +STATS: serializing results: 1.775026ms +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.377893ms +STATS: parsing XPath query: 0.057936ms +STATS: compiling XPath query: 0.330925ms +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.947943ms +STATS: serializing results: 2.008915ms +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.390053ms +STATS: parsing XPath query: 0.050068ms +STATS: compiling XPath query: 0.411987ms 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.326841ms +STATS: serializing results: 2.140045ms STATS: 1 iterations STATS: automaton 0, cache2: 70 entries, cache6: 2345 entries STATS: cache2: length: 105, used: 35, occupation: 0.333333