Re: [xslt] text output method performance
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] text output method performance
- Date: Mon, 16 Jun 2003 05:06:53 -0400
On Sun, Jun 15, 2003 at 08:31:23PM +0200, Stéphane Bidoul wrote:
> It seems that libxslt performance degrades pathologically
> with output size when using the text output method.
> A run of my test case through the profiler shows that
> 95+% of the time is spent in xmlStrlen
> (called from xmlStrncat and xmlNodeAddContent).
> I understand that libxslt builds one big text node in such case,
> which explains the performance behaviour.
> What would be possible tracks to explore in order to improve this
> (provided my diagnostic is correct, of course)?
very possible, seems one should use a buffer method for this and
it's not done. Should be relatively simple, please post an RFI in
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
firstname.lastname@example.org | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
] [Thread Prev