Re: [docbook-apps] How to improve the build speed with saxon 6.X / docbook

2009-09-14 Thread Sylvestre Ledru
Le vendredi 11 septembre 2009 à 06:13 +0100, Dave Pawson a écrit :
 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
I am going to try. Do you have any pointer/documentation on this ?

Thanks
Sylvestre



-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



Re: [docbook-apps] How to improve the build speed with saxon 6.X / docbook

2009-09-14 Thread Dave Pawson

On 14/09/09 10:13, Sylvestre Ledru wrote:


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

I am going to try. Do you have any pointer/documentation on this ?

Thanks
Sylvestre


I think I owe you an apology. Seems that compiling a stylesheet is a 
Saxon 9 option, not available on saxon 6.5.5 which is the XSLT 1.0

engine needed for docbook.

Can anyone confirm this?
I'm looking  at

http://saxon.sourceforge.net/saxon6.5.5/using-xsl.html#Command-line
as the command line options.

http://www.saxonica.com/documentation/using-xsl/compiling.html documents
using the pre-compiled stylesheet with xslt 2.0


regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org