OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] RE: Incremental transformations with Xalan and performance

[ Lists Home | Date Index | Thread Index ]

On Saturday 04 December 2004 18:39, Andrzej Jan Taramina 
> Do you happen to know if anyone has tried to build an
> XSLT engine that does incremental transformations on
> incoming SAX events, without requiring the building of a
> tree?  That kind of approach, where the transform is
> appropriate, would be much more efficient in memory
> useage and would allow transforms of virtually unlimited
> size documents I should think.  Something to
> investigate...

I don't think this will be of much practical use to you but 
just to add more to the picture. As far as I am aware 
Sarvega is the only XSLT vendor who has been pushing on in 
this area. A few months ago we achieved client defined 
transforms on documents over the 4GB boundary on standard 
PC hardware. Our theoretical limit is 1024GB although I 
don't think we will be trying that for a while yet.

Once you get beyond memory limitations the problem is of 
course CPU time which for many stylesheets is some function 
of input size. To scale to these levels you need to have a 
stylesheet that at worst exhibits linear CPU time wrt 
document size. This is just another way of saying that 
performance is highly dependent on what your stylesheet 

The main challenge we have ahead for very large handling is 
to extend the optimisations we perform to allow execution  
over a greater range of stylesheets. This is also a goal 
for smaller documents as well so it should just happen over 



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS