Re: libxslt speed (was Re: jrb help: XML & HTML)
- From: Daniel Veillard <veillard redhat com>
- To: gnome-doc-list gnome org
- Subject: Re: libxslt speed (was Re: jrb help: XML & HTML)
- Date: Thu, 6 Sep 2001 04:30:58 -0400
On Wed, Sep 05, 2001 at 08:35:38PM -0600, John Fleck wrote:
> On Wed, Sep 05, 2001 at 01:05:13PM -0400, Alexander Kirillov wrote:
> >
> > On a different topic: the main incentive for shipping HTML instead of
> > (or in addition to) XML is speed. Does anyone have any hard data on how
> > fast the gnome-db2html3 (based on libxml/libxslt) will work? If it
> > works reasonbaly fast, I'd gladly join my voice to those suggesting to
> > get rid of HTML for good. So: DV, jfleck: any estimates? What can we hope
> > for?
> >
> > (For me: reasonably fast means that getting table of contents or one
> > section of a medium length doc, such as Panel manual, takes under 2
> > sec on 500 Mhz Pentium III. I'd actually prefer under 1 sec)
> >
>
> On my 400 Mhz machine, parsing a section of panel.sgml and outputing
> html takes 1 to 1.5 seconds. (Nothing special about panel.sgml here -
> similar times for other stuff I've tested.)
Note that:
- a lot of the processing cost in Norman stylesheets comes from
the "chunking" code, if you generate flat files it's quite faster
- a lot of the time spent is also related to parsing the DocBook
XML Dtd, and this could probably be factored if you keep a
background daemon in charge (though I don't have currently an
API for doing this, reusing a parsed DTD is definitely possible).
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
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]