xsl-list
[Top] [All Lists]

RE: [xsl] Migration from XSLT1.0 to XSLT2.0

2006-09-06 05:18:49
Now is there 
any performance related = information available for XSLT2.0 
in comparison with XSLT1.0 while = testing with bulk data. We 
can always optimize stylesheets using new = XSLT2.0 
functionalities such as looping,grouping,functions etc. but 
what = is the result when we use the same stylesheets?

Performance depends on the product, not on the language.

There's mixed data about Saxon 8.x versus Saxon 6.5.x when executing XSLT
1.0 stylesheets. My own measurements show 8.x as being usually about 20%
faster, but other people have said it's slower. I think the difference is
that 8.x is significantly bigger and takes longer to start up because of the
Java initialization costs, but is then faster when it gets going. Either
way, it's unlikely to be a big difference.

I did have one client with a performance problem on 6.5.x, which we never
got to the bottom of, because when they tried running the work on 8.x it
went 20 times faster, so they never looked back. I don't think that case is
typical, but it reflects the fact that there has been a lot of work on the
optimizer in the meantime.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>