From 9a099fbff8e55bd110bfc38c4871b4a915c542ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kim=20Nguy=E1=BB=85n?= Date: Wed, 14 Mar 2012 15:33:15 +0100 Subject: [PATCH] Add performance tests --- tests/perf_tests/xmark_10.xml.best | 1 + tests/perf_tests/xmark_10.xml.last | 1 + tests/perf_tests/xmark_10.xml.queries | 28 +++++++++++++++++++ .../xmark_10.xml_timing.2a7218fd2a98 | 28 +++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 120000 tests/perf_tests/xmark_10.xml.best create mode 120000 tests/perf_tests/xmark_10.xml.last create mode 100644 tests/perf_tests/xmark_10.xml.queries create mode 100644 tests/perf_tests/xmark_10.xml_timing.2a7218fd2a98 diff --git a/tests/perf_tests/xmark_10.xml.best b/tests/perf_tests/xmark_10.xml.best new file mode 120000 index 0000000..d09d482 --- /dev/null +++ b/tests/perf_tests/xmark_10.xml.best @@ -0,0 +1 @@ +xmark_10.xml_timing.2a7218fd2a98 \ No newline at end of file diff --git a/tests/perf_tests/xmark_10.xml.last b/tests/perf_tests/xmark_10.xml.last new file mode 120000 index 0000000..d09d482 --- /dev/null +++ b/tests/perf_tests/xmark_10.xml.last @@ -0,0 +1 @@ +xmark_10.xml_timing.2a7218fd2a98 \ No newline at end of file diff --git a/tests/perf_tests/xmark_10.xml.queries b/tests/perf_tests/xmark_10.xml.queries new file mode 100644 index 0000000..73d4a2a --- /dev/null +++ b/tests/perf_tests/xmark_10.xml.queries @@ -0,0 +1,28 @@ +/child::site/child::regions +/child::site/child::closed_auctions +/child::site/child::regions/child::*/child::item +/child::site/child::closed_auctions/child::closed_auction/child::annotation/child::description/child::text/child::keyword +/descendant::listitem/descendant::keyword +/descendant::closed_auction/descendant::keyword +/site/closed_auctions/closed_auction/descendant::keyword +/child::site/child::closed_auctions/child::closed_auction[child::annotation/child::description/child::text/child::keyword]/child::date +/child::site/child::closed_auctions/child::closed_auction[descendant::keyword]/child::date +/child::site/child::people/child::person[child::profile/child::gender and child::profile/child::age]/child::name +/child::site/child::people/child::person[child::phone or child::homepage]/child::name +/child::site/child::people/child::person[child::address and (child::phone or child::homepage) and (child::creditcard or child::profile)]/child::name +/descendant::listitem[not(descendant::keyword/child::emph)]/descendant::parlist +/descendant::listitem[ (descendant::keyword or descendant::emph) and (descendant::emph or descendant::bold)]/child::parlist +/descendant::people[ descendant::person[not(child::address)] and descendant::person[not(child::watches)]]/child::person[child::watches] +/site/regions/europe/item/mailbox/mail/text/keyword +/site/closed_auctions/closed_auction/annotation/description/parlist/listitem +/site/closed_auctions/closed_auction/annotation/description/parlist/listitem/parlist/listitem/*/descendant::keyword +/site/regions/*/item/descendant::keyword +/site/regions/*/person[ address and (phone or homepage) ] +/descendant::listitem[ descendant::keyword and descendant::emph]/descendant::parlist +/site/regions/*/item[ mailbox/mail/date ]/mailbox/mail +/child::*[ descendant::* ] +/descendant::* +/descendant::*/descendant::* +/descendant::*/descendant::*/descendant::* +/descendant::*/descendant::*/descendant::*/descendant::* +/descendant::*/descendant::*/descendant::*/descendant::*/descendant::*/descendant::*/descendant::*/descendant::* diff --git a/tests/perf_tests/xmark_10.xml_timing.2a7218fd2a98 b/tests/perf_tests/xmark_10.xml_timing.2a7218fd2a98 new file mode 100644 index 0000000..906a94a --- /dev/null +++ b/tests/perf_tests/xmark_10.xml_timing.2a7218fd2a98 @@ -0,0 +1,28 @@ +1,1,1.217842,1.164198,7200000 +2,1,1.266956,1.220942,7200000 +3,217500,51.516056,55.277109,7200000 +4,40726,101.997137,100.775957,7200000 +5,353364,168.576956,206.339836,7200000 +6,124843,65.244913,70.586920,7200000 +7,124843,60.247898,67.387819,7200000 +8,26570,121.632099,128.324032,7200000 +9,53342,151.635885,155.272961,7200000 +10,32242,224.524975,241.451979,7200000 +11,191316,218.091011,219.973087,7200000 +12,72026,225.718975,260.048151,7200000 +13,70790,512.145996,484.386921,7200000 +14,66882,1332.604885,1147.840977,7200000 +15,,284.944057,294.388056,7200000 +16,34648,78.989029,84.412813,7200000 +17,85431,101.851940,104.414940,7200000 +18,32490,139.475107,148.449183,7200000 +19,416175,139.338970,164.724827,7200000 +20,0,1.979828,1.878977,7200000 +21,48403,584.822178,561.644077,7200000 +22,208497,329.558849,337.107182,7200000 +23,1,1.893997,1.897097,7200000 +24,16703210,0.723839,0.722885,7200000 +25,16703209,1.342058,1.265049,7200000 +26,16703203,2.310991,2.403975,7200000 +27,16210697,1374.158144,1554.687023,7200000 +28,2393819,1738.281965,1954.731941,7200000 -- 2.17.1