Re: [xml] libxml2 very slow on big data dump
- From: "Stefan Behnel" <stefan_ml behnel de>
- To: "Alexandre Macard" <amacard arkeia com>
- Cc: xml gnome org
- Subject: Re: [xml] libxml2 very slow on big data dump
- Date: Tue, 16 Dec 2008 15:00:43 +0100 (CET)
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]