OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] chunking very slow

On 5/28/13 3:06 AM, Jirka Kosek wrote:
> I'm not sure whether chunkfast.xsl is really that faster then chunk.xsl.

It is, but only by 10% or so.

> But in your case I would try and benchmark Saxon instead of xsltproc. On
> larger documents and complex transforms it's usually much faster.

Saxon 6.5 was twice as slow for me.

After some more digging, I think it's not the XSLT implementation, it's
the stylesheet implementation.  If I turn off index generation, preface,
section, chapter, appendix, and footnote numbering, as well as the
legalnotice link, I get performance comparable to DSSSL.  Apparently,
the numbers are recomputed for every chunk.  It would probably be better
if they were computed just once and cached, not unlike what chunkfast
does for the chunks themselves.  I might take a stab at implementing
something like that.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]