Re: [xslt] text output method performance



On Sun, Jun 15, 2003 at 08:31:23PM +0200, Stéphane Bidoul wrote:
> Hi,
> 
> 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
bugzilla,

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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