<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>XslCompiledTransform Performance: Beating MSXML 4.0</title><link>http://blogs.msdn.com/antosha/archive/2006/07/24/xslcompiledtransform-performance-beating-msxml-4-0.aspx</link><description>Interestingly enough, the first live.com hit for the "XslCompiledTransform Performance" query at the moment is this post of Jeff Prosise, where he says he was disappointed that XslCompiledTransform ran just 3 times faster than XslTransform on a "fairly</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: XslCompiledTransform Performance: Beating MSXML 4.0</title><link>http://blogs.msdn.com/antosha/archive/2006/07/24/xslcompiledtransform-performance-beating-msxml-4-0.aspx#678117</link><pubDate>Tue, 25 Jul 2006 21:38:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:678117</guid><dc:creator>b0b0b0b</dc:creator><description>Is this an apples to apples comparison? &amp;nbsp;Are the java timings from a cold start, or a warm start? &amp;nbsp;How do the timings differ if they are run from a warm server vm?&lt;br&gt;</description></item><item><title>re: XslCompiledTransform Performance: Beating MSXML 4.0</title><link>http://blogs.msdn.com/antosha/archive/2006/07/24/xslcompiledtransform-performance-beating-msxml-4-0.aspx#678283</link><pubDate>Wed, 26 Jul 2006 01:11:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:678283</guid><dc:creator>xmlhacker</dc:creator><description>Very interesting post and results!&lt;br&gt;&lt;br&gt;Question: &amp;nbsp;Did you make any attempt to run the same tests with Saxon on .NET 8.7.3?</description></item><item><title>re: XslCompiledTransform Performance: Beating MSXML 4.0</title><link>http://blogs.msdn.com/antosha/archive/2006/07/24/xslcompiledtransform-performance-beating-msxml-4-0.aspx#679535</link><pubDate>Thu, 27 Jul 2006 01:28:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:679535</guid><dc:creator>mhkay</dc:creator><description>A good article.&lt;br&gt;&lt;br&gt;To do Java applications justice you need to allow for warm-up time. Try running Saxon with the -t flag for timings, and the undocumented -9 flag to repeat the transform 9 times. The figures I get for the Chess stylesheet under Saxon 8.7.3 are in milliseconds:&lt;br&gt;&lt;br&gt;741, 280, 261, 260, 251, 250, 260, 240, 250&lt;br&gt;&lt;br&gt;The first run excludes the compile time of 681 ms. I don't know of course if the machine is comparable with the one you used. There's clearly some way still to go to catch up with the .NET 2.0 compiler, but the gap isn't as big as you portray. And it's not surprising that there should be a gap, since I've spent the last five years working on increased functionality while MS have been working on increased performance!&lt;br&gt;&lt;br&gt;The figures I get for Saxon 6.5.5 are:&lt;br&gt;&lt;br&gt;610, 331, 330, 341, 340, 331, 320, 341, 320&lt;br&gt;&lt;br&gt;I think the faster time you are seeing for 6.5.5 is entirely due to the fact that the product is half the size and therefore loads faster. At steady state, these results show 8.7.3 being 25% faster than 6.5.5, and that's typical of my other measurements.&lt;br&gt;&lt;br&gt;For Saxon on .NET, I'm currently seeing&lt;br&gt;&lt;br&gt;761, 471, 490, 481, 481, 481, 510, 481, 491&lt;br&gt;&lt;br&gt;i.e. not much better than half the Java speed. Presumably that's not an intrinsic feature of the two environments, but a measure of the overhead of cross-compiling.&lt;br&gt;&lt;br&gt;Michael Kay&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: XslCompiledTransform Performance: Beating MSXML 4.0</title><link>http://blogs.msdn.com/antosha/archive/2006/07/24/xslcompiledtransform-performance-beating-msxml-4-0.aspx#679926</link><pubDate>Thu, 27 Jul 2006 09:55:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:679926</guid><dc:creator>antosha</dc:creator><description>Thanks for the feedback! I have remeasured transformation times using the -9 flag and updated the post. My new results for the Chess-FO stylesheet is close to yours; however, Saxon 6.5.5 still seems to be a bit faster. I tried this scenario on a different computer (Dell XPS 400, Pentium D 2.8GHz, Windows XP MCE, java version 1.5.0_06), and got the same results—Saxon 6.5.5 is a little faster for Chess-FO and significantly faster for Queens. Of course, it may depend on the processor architecture (Intel/AMD) or L1/L2 cache sizes.</description></item><item><title>re: XslCompiledTransform Performance: Beating MSXML 4.0</title><link>http://blogs.msdn.com/antosha/archive/2006/07/24/xslcompiledtransform-performance-beating-msxml-4-0.aspx#681560</link><pubDate>Fri, 28 Jul 2006 18:11:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:681560</guid><dc:creator>workdog</dc:creator><description>Great Article!&lt;br&gt;&lt;br&gt;It would be very interesting to see the same test run with very large files.</description></item></channel></rss>