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] The compiled Saxon DocBook stylesheets doesn'tspeed anything??


Maybe for the DocBook stylesheets there is no sense to use compilation with Xalan??

For rather big xml (about 1M) the advantage is 3% (25 and 26 seconds) and for the small xml (10KB) it was same time (4 seconds) to transform xml to the fo. 

>-----Original Message-----
>From: Jirka Kosek [mailto:jirka@kosek.cz] 
>Sent: Friday, July 02, 2010 1:41 PM
>To: Tapanainen Mika
>Cc: docbook-apps@lists.oasis-open.org
>Subject: Re: [docbook-apps] The compiled Saxon DocBook 
>stylesheets doesn't speed anything??
>
>Tapanainen Mika wrote:
>
>> It is only 3% faster to use the compiled stylesheets. So why 
>it is possible it is so slow to use the compiled stylesheets?
>
>Saxon stylesheet compilation only improves startup time. 
>Stylesheets are
>not compiled into byte-code but into Saxon internal structure. If you
>run compiled stylesheet there is no need to parse and analyze it again,
>but execution speed is same as with normal non-complied stylesheets.
>
>-- 
>------------------------------------------------------------------
>  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
>------------------------------------------------------------------
>       Professional XML consulting and training services
>  DocBook customization, custom XSLT/XSL-FO document processing
>------------------------------------------------------------------
> OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
>------------------------------------------------------------------
>
>


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