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] How to improve the build speed with saxon 6.X/ docbook

On 10/09/09 13:09, Sylvestre Ledru wrote:
> Hello,
> I am currently trying to improve the build time of the documentation of
> a free scientific software (Scilab).
> There are almost 1800 XML files. The size of these files is between 1 k
> to 10 k.
> Before calling saxon, some processing is done (mathml =>  png through
> jeuclid, etc) and finally merged all of them into a single file [1].
> This file is processed against chunk.xsl or javahelp.xsl from
> docbook-xsl. Both are taking a long time (pretty much the same).
> However, the build time is way too long (between 30m to 60m on a
> powerfull computer to hours on a small CPU). Especially for some small
> architectures like s390 or armel... For example, Debian compilation
> chains are killing the process since it is taking more than 150 minutes,
> just to "load" the XML.
> Therefor, I am trying to improve the speed of the process.
> I wonder if there are any tricks to improve the speed. Some people told me that the merge of all xml files
> is not necessary but I haven't been able to find how to do it.

Have you tried compiling the stylesheets using the saxon option?
Not something I've done, nor something I've heard being done on this 
list, but definitely should show an improvement


Dave Pawson

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