XPath is REALLY slow
Posted: Thu Mar 31, 2005 10:17 pm
I have a XML document that is about 700KB. It has no schema, and is a flat list of <entry> elements (about 2200 of them).
If I enter "/Events/event" in the XPath 1.0 text box in the upper right, it takes nearly one hour before a list of events shows up in the results window. The same XPath query returns almost instantly when I tried Stylus Studio. This is a huge problem, as I tend to use Xpath a lot (and I don't even consider 700KB to be a very large document).
I'm running on a Pentium 4 PC, 2.4 GHz, 1GB RAM, Windows XP. I don't think my PC configuration is the problem.
Despite this, I do like Oxygen a lot. It's just disappointing that Xpath is so slow. Otherwise, you guys have a great product.
(By the way, is there a way to cancel a running XPath query? If there is, I couldn't find it -- I had to shutdown Oxygen to get it to stop executing.)
Thank you,
John
If I enter "/Events/event" in the XPath 1.0 text box in the upper right, it takes nearly one hour before a list of events shows up in the results window. The same XPath query returns almost instantly when I tried Stylus Studio. This is a huge problem, as I tend to use Xpath a lot (and I don't even consider 700KB to be a very large document).
I'm running on a Pentium 4 PC, 2.4 GHz, 1GB RAM, Windows XP. I don't think my PC configuration is the problem.
Despite this, I do like Oxygen a lot. It's just disappointing that Xpath is so slow. Otherwise, you guys have a great product.
(By the way, is there a way to cancel a running XPath query? If there is, I couldn't find it -- I had to shutdown Oxygen to get it to stop executing.)
Thank you,
John