RE: [docbook-apps] performance issue - 5MB Source lead to a processtime up to 20 minutes

2014-01-16 Thread Jan Tosovsky
On 2014-01-16 Jirka Kosek wrote:
 On 16.1.2014 17:32, markus.sticker.e...@zf.com wrote:
 
  If removed some obsolate (for my case) Parts and now I'm using the
  saxon 9.5 with multithreading and 3G heap so my process time is about
  3-5 minutes. Not good - just a little better.
 
 First, I would check that you are using recent DocBook XSL stylesheet
 distribution (1.78.1).
 
 Then you can run Saxon with -t switch which will show you how long
 resources are loaded and transformed. This can give you some insight.
 
 Multi-core processor will not help, unless you are using features from
 commercial version Saxon-EE (and those features are not used in DocBook
 stylesheets), transformation runs in a single thread.

Have you set up catalogs in either xslproc or saxon? Otherwise DTDs are 
downloaded from the web which is much slower. IIRC, in a draft mode some 
resources are also taken from an external URL.

You can simply test this with disconnected network ;-)

Jan

PS: In 20 minutes it is possible to process 2500 pages PDF manual even without 
a special HW (I mean XML-FO-PDF).



-
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] performance issue - 5MB Source lead to a processtime up to 20 minutes

2014-01-16 Thread markus.sticker.epos
I set --nonet at the xsltproc.
@Jirka: yes it's the 1.78.1 distribution, and I used the Saxon/C and also the 
Saxon-EE


-Ursprüngliche Nachricht-
Von: Jan Tosovsky [mailto:j.tosov...@email.cz]
Gesendet: Donnerstag, 16. Januar 2014 19:36
An: Betreff: RE: [docbook-apps] performance issue - 5MB Source lead to a 
processtime up to 20 minutes

On 2014-01-16 Jirka Kosek wrote:
 On 16.1.2014 17:32, markus.sticker.e...@zf.com wrote:
 
  If removed some obsolate (for my case) Parts and now I'm using the 
  saxon 9.5 with multithreading and 3G heap so my process time is 
  about
  3-5 minutes. Not good - just a little better.
 
 First, I would check that you are using recent DocBook XSL stylesheet 
 distribution (1.78.1).
 
 Then you can run Saxon with -t switch which will show you how long 
 resources are loaded and transformed. This can give you some insight.
 
 Multi-core processor will not help, unless you are using features from 
 commercial version Saxon-EE (and those features are not used in 
 DocBook stylesheets), transformation runs in a single thread.

Have you set up catalogs in either xslproc or saxon? Otherwise DTDs are 
downloaded from the web which is much slower. IIRC, in a draft mode some 
resources are also taken from an external URL.

You can simply test this with disconnected network ;-)

Jan

PS: In 20 minutes it is possible to process 2500 pages PDF manual even without 
a special HW (I mean XML-FO-PDF).



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