XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XML Schema: "Best used with the ______ tool"

> Andrew Welch <andrew.j.welch@gmail.com> writes:
>
>> Running the following transform against that file using Kernow's
>> performance testing facility:
>>
>> [...]
>>
>> Gives this result:
>>
>> Ran 5 times
>> Run 1: 445 ms
>> Run 2: 178 ms
>> Run 3: 216 ms
>> Run 4: 335 ms
>> Run 5: 163 ms
>> Ignoring first 2 times
>> Total Time (last 3 runs): 714 ms
>> Average Time (last 3 runs): 238 ms
>
> This is consistent with what I got for XQuery. The test runs 100
> queries which translates to about 250 ms per query (and 0.9 ms
> for data binding). Provided that you hard-coded max age and
> gender into the transformation and don't parse the result, it is
> pretty close. I am not sure if in your test the XML document is
> re-parser for each run, though.

Yes both the stylesheet and source xml are re-parsed every time...
which is not ideal for comparing subtle stylesheet tweaks but in most
cases it's fine.



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS