Re: [xml] xmlCopyNode ultra slow


On Sat, 2005-12-31 at 09:48 -0500, Daniel Veillard wrote:
On Tue, Dec 27, 2005 at 12:25:37PM +0100, Rikardo Tinauer wrote:

we use libxml2 and xpath. When filling DOM structure we use predefined xml 
nodes. When using "xmlCopyNode" it sometimes needs more than 0.2 seconds to 
add one node.

  Sounds broken, there is something else killing your performances !

Is there anything we can do to speed this up? Is there any progress made on 
XPATH performance? We need it badly!

  it's an open source project, do the analysis explaining where the
performance problem is and it may get fixed.

Ricardo, can you provide some examples for the XPath expressions which
constitute a bottleneck for you? Some of the most simple expressions are
processed via the pattern.c module, resulting in a big performance
boost. It would be interesting to know what is dearly needed to be
optimized in the future.



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