Gabor Hojtsy wrote:

> > Saxon with Sun's or IBM's JVM is much more faster than with MS one.
> 
> Is there any difference on Windows between IBM and SUN JVMs?
> I have the latest SUN JSDK, but if IBMs quicker, I'll download
> and install it.

I don't know.
 
> Also what you think about style sheet complecity? We actually only
> use a small subset of the DocBook DTD. It is possible to increase
> the speed significantly, with dropping out unsused parts from the
> style sheet. More precisely with creating a custom modules and a
> driver with only the templates we use?
> 
> We use 97 different tags (exact value computed by our tag usage
> stat program). I don't know how many tags are included in the
> DocBook DTD, but there must be much-much more. This means many
> unsuccessful matches for templates while processing...
>
...
> 
> How much speed increase we can gain with this method? Is it significant?

As we use tag from many areas which DocBook DTD covers it will be hard
to find modules which we can remove and still process phpdoc. IMHO
problem is not in a number of templates but in a large source XML
document. When you are chunking, stylesheets are performing many queries
against document tree in order to calculate chunks, links to prev/next
chunk to generate ToC and so on. This can't be made faster by removing
several templates from stylesheet. 

Yesterday Norm added new feature for controlling chunking. I hadn't yet
looket at how it works internataly, but chunking is driven by external
ToC file which is pregenerated from source document. This might speed
chunking especially when duing multiple chunking outputs at time -- HTML
and HTML Help. But as I said, this is only speculation, I hadn't played
with that.

                                Jirka
                                
-- 
-----------------------------------------------------------------
  Jirka Kosek                        
  e-mail: [EMAIL PROTECTED]
  http://www.kosek.cz

Reply via email to