Re: [xml] libxml2 very slow on big data dump



Stefan Behnel a écrit :
Hi,

Alexandre Macard wrote:
  
I try dump a node from a big xml (near 7mo), and the libxml2 is very
slow to respond.

I tried to trace the problem and it seems to take all it's time into the
function: xmlOutputBufferWriteEscape.
I do not need to escape data because I use a base64 encoding.
    

You didn't write which version of libxml2 you are using, but there was a
bug in an older version that could lead to horrible performance when
serialising character entities.

Try upgrading your library.

Stefan


  
Hi,

Sorry I forgot to precise this information. I am using the last version
2.7.2.

Thanks.



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