[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: much faster XPath queries with XT



Eric:

I also tested Xalan Xpath on my Pentium II 448Mhz with 256MB RAM.
The query took around 3 sec in DOM mode. I think the inefficiency
of Xalan XPath arises from its brute force execution plan. It starts
from the top-level step, gathering all the context nodes and switching
to the next level and so on. It is extremely inefficient when you use
"//" since it tries to collect all the descendant nodes as possible
context nodes of the next step.

I don't know how much XT is fast. But you can do benchmarking
with my XRS system that has shakespare colleciton as the Web
demonstration at: http://dlb2.nlm.nih.gov/~dwshin/xrs.html.

Cheers,
Dongwook

Eric van der Vlist wrote:

> Hi Lars,
>
> It looks amazing.
>
> Can you give us more details, and, to begin with, are you running XT in
> DOM mode ?
>
> Thanks
>
> Eric

--
Dongwook Shin
Visiting Scholar
Lister Hill National Center for Biomedical Communications
National Library of Medicine,
8600 Rockville Pike Bethesda 20894, MD
E-mail: dwshin@nlm.nih.gov
Tel: (301) 435-3257
FAX: (301) 480-3035
URL: http://dlb2.nlm.nih.gov/~dwshin