Hi Andrew,
Andrew Welch <> 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.
Boris
--
Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog
Open source XML data binding for C++: http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde