XSLTC — Compile XSLT to .NET Assembly

In my two previous posts I described a potential performance hit caused by XSLT-to-MSIL compilation and JIT-compilation when you load and run some XSLT stylesheet with the XslCompiledTransform engine for the first time. Since the .NET Framework 2.0 did not allow you to save compiled stylesheets, you had to pay the compilation price on each…

1

XslCompiledTransform Performance: Beating MSXML 4.0

Update:Transformation times for Saxon processors have been remeasured and updated based on the feedback received from Dimitre Novatchev and Michael Kay. I also slightly altered the text below to reflect the change in Saxon command-line arguments. Interestingly enough, the first live.com hit for the “XslCompiledTransform Performance” query at the moment is this post of Jeff…

5

XslCompiledTransform Slower than XslTransform?

This post discusses: Why XslCompiledTransform may be slower than XslTransform How to reduce start-up time if you use one of the managed XSLT processors Why it is important to cache loaded XslCompiledTransform instances The .NET Framework 2.0 provides a new System.Xml.Xsl.XslCompiledTransform XSLT processor class, which is intended to replace the obsoleted XslTransform class. One of…

0