Re: [xslt] xml/xst timings reported by xsltproc.



On Tue, Feb 25, 2003 at 05:01:36PM -0500, Gennady Feldman wrote:
> >   My feeling is that you should do intermediary buffering in the 
> > I/O libxml2 custom wrapper. I bet that the Apache does some kind of
> flush on
> > any write and that kills performances for small writes which is basically
> > what the libxml2 serialization layer will do. Bufferize ...
> >   But again it's just guesses, only actually profiling the code will
> > give you teh real answer. And gaining 2-3ms might be a bad idea if it
> > destroy cache locality when running for real !
> >
> I/O libxml2 custom wrapper? any references to info/docs/examples?

  the OutputBuffer I/O module. Just add buffering in that layer,
by default I think libxml2 will flush every 4000 bytes, maybe you
want to put an intermediate buffer there.

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]