<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Performance Benchmark Results: JVM vs CLR</title>
	<atom:link href="http://gregluck.com/blog/archives/2005/01/performance-benchmark-results-jvm-vs-clr/feed/" rel="self" type="application/rss+xml" />
	<link>http://gregluck.com/blog/archives/2005/01/performance-benchmark-results-jvm-vs-clr/</link>
	<description></description>
	<lastBuildDate>Tue, 18 Oct 2011 19:20:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Terry</title>
		<link>http://gregluck.com/blog/archives/2005/01/performance-benchmark-results-jvm-vs-clr/comment-page-1/#comment-37</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Fri, 08 Apr 2005 12:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2005/01/performance-benchmark-results-jvm-vs-clr/#comment-37</guid>
		<description>Actually the .net results for the SciMark 2.0  Bench mark are out dated, and use a 1.0 version of .net.
Out of curiosity, I ran the results on an XP box, using my 1.5 Java JRE, and .net 1.1, and .net 2.0 beta two, and here are the composite scores.
Java 1.5: 230
.Net 2.0 C#: 356
.Net 2.0 C: 616
.Net 1.1 C#: 340
.Net 1.1 C: 575
Note for the Java time, I just ran the bench mark off the web, so it may have incurred some
browser over head.
Personally, math oriented tests such as these can be misleading, as the two libraries can have such a wide variety of implementation, accuracy ect.  Its not always a valid comparison. I&#039;d love to see the see the SPEC JVM98 benchmark ported to C#.
I&#039;ll admit to being a .net fan, as well as Java, but I find .net to be generally 5-15% more performant then Java, which makes sense to me considering the CLR is designed specially for the windows platform, where as Java needs to provide cross platform support.  I&#039;m not sure what Sam&#039;s point is. It seems valid to ask, you have a box, what runs similar tasks faster on it, the clr, or the jvm? I would be curious to see if java would have better performance ruining on the same physical box with Linux, instead of xp.
</description>
		<content:encoded><![CDATA[<p>Actually the .net results for the SciMark 2.0  Bench mark are out dated, and use a 1.0 version of .net.<br />
Out of curiosity, I ran the results on an XP box, using my 1.5 Java JRE, and .net 1.1, and .net 2.0 beta two, and here are the composite scores.<br />
Java 1.5: 230<br />
.Net 2.0 C#: 356<br />
.Net 2.0 C: 616<br />
.Net 1.1 C#: 340<br />
.Net 1.1 C: 575<br />
Note for the Java time, I just ran the bench mark off the web, so it may have incurred some<br />
browser over head.<br />
Personally, math oriented tests such as these can be misleading, as the two libraries can have such a wide variety of implementation, accuracy ect.  Its not always a valid comparison. I&#8217;d love to see the see the SPEC JVM98 benchmark ported to C#.<br />
I&#8217;ll admit to being a .net fan, as well as Java, but I find .net to be generally 5-15% more performant then Java, which makes sense to me considering the CLR is designed specially for the windows platform, where as Java needs to provide cross platform support.  I&#8217;m not sure what Sam&#8217;s point is. It seems valid to ask, you have a box, what runs similar tasks faster on it, the clr, or the jvm? I would be curious to see if java would have better performance ruining on the same physical box with Linux, instead of xp.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Shaw</title>
		<link>http://gregluck.com/blog/archives/2005/01/performance-benchmark-results-jvm-vs-clr/comment-page-1/#comment-36</link>
		<dc:creator>Steven Shaw</dc:creator>
		<pubDate>Sun, 20 Feb 2005 18:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2005/01/performance-benchmark-results-jvm-vs-clr/#comment-36</guid>
		<description>Perhaps the .NET proponent was just ignorant of the state of the art on the Java platform. But it&#039;s possible that he was having trouble communication about how on the CLR, the JIT is always used to produce native code. MSIL is never interpretted by the CLR whereas on the JVM, bytecode is often interpreted until hotspot identifies a method as requiring jitting.
Also worth keeping in mind that the Microsoft JVM was the first to include a JIT, IIRC.
</description>
		<content:encoded><![CDATA[<p>Perhaps the .NET proponent was just ignorant of the state of the art on the Java platform. But it&#8217;s possible that he was having trouble communication about how on the CLR, the JIT is always used to produce native code. MSIL is never interpretted by the CLR whereas on the JVM, bytecode is often interpreted until hotspot identifies a method as requiring jitting.<br />
Also worth keeping in mind that the Microsoft JVM was the first to include a JIT, IIRC.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Luck</title>
		<link>http://gregluck.com/blog/archives/2005/01/performance-benchmark-results-jvm-vs-clr/comment-page-1/#comment-35</link>
		<dc:creator>Greg Luck</dc:creator>
		<pubDate>Tue, 01 Feb 2005 15:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2005/01/performance-benchmark-results-jvm-vs-clr/#comment-35</guid>
		<description>Note that I did not run any benchmarks. That is a breach of Microsoft&#039;s EULA. I am reporting performance from another website.
</description>
		<content:encoded><![CDATA[<p>Note that I did not run any benchmarks. That is a breach of Microsoft&#8217;s EULA. I am reporting performance from another website.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Me</title>
		<link>http://gregluck.com/blog/archives/2005/01/performance-benchmark-results-jvm-vs-clr/comment-page-1/#comment-34</link>
		<dc:creator>Me</dc:creator>
		<pubDate>Mon, 31 Jan 2005 20:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2005/01/performance-benchmark-results-jvm-vs-clr/#comment-34</guid>
		<description>You used VMWare to run the benchmarks? There goes your credibility! Did you run both the Java and C# code on the same stack?
</description>
		<content:encoded><![CDATA[<p>You used VMWare to run the benchmarks? There goes your credibility! Did you run both the Java and C# code on the same stack?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dafydd Rees</title>
		<link>http://gregluck.com/blog/archives/2005/01/performance-benchmark-results-jvm-vs-clr/comment-page-1/#comment-33</link>
		<dc:creator>Dafydd Rees</dc:creator>
		<pubDate>Mon, 31 Jan 2005 02:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2005/01/performance-benchmark-results-jvm-vs-clr/#comment-33</guid>
		<description>This is meaningless. Are they saying that the CLR is faster executing the same sequence of instructions on the same operating system as the JVM? Surely they don&#039;t have the same instruction set so it&#039;s impossible to compare &quot;speed&quot; directly. It&#039;s just like comparing the &quot;speed&quot; of an Intel chipset with, say a G5. Clock speed alone means nothing - depends on what instructions are executing during each &quot;tick&quot; and efficiently they were compiled from the source code. If we could comare differently specified VMs for speed, I wonder if Cincom Smalltalk VM  would beat both the CLR and the JVM. They&#039;ve been doing this a lot longer than Sun or Microsoft.
</description>
		<content:encoded><![CDATA[<p>This is meaningless. Are they saying that the CLR is faster executing the same sequence of instructions on the same operating system as the JVM? Surely they don&#8217;t have the same instruction set so it&#8217;s impossible to compare &#8220;speed&#8221; directly. It&#8217;s just like comparing the &#8220;speed&#8221; of an Intel chipset with, say a G5. Clock speed alone means nothing &#8211; depends on what instructions are executing during each &#8220;tick&#8221; and efficiently they were compiled from the source code. If we could comare differently specified VMs for speed, I wonder if Cincom Smalltalk VM  would beat both the CLR and the JVM. They&#8217;ve been doing this a lot longer than Sun or Microsoft.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Pullara</title>
		<link>http://gregluck.com/blog/archives/2005/01/performance-benchmark-results-jvm-vs-clr/comment-page-1/#comment-32</link>
		<dc:creator>Sam Pullara</dc:creator>
		<pubDate>Sun, 30 Jan 2005 10:15:24 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2005/01/performance-benchmark-results-jvm-vs-clr/#comment-32</guid>
		<description>Java: 324+413 = 737
.NET: 240+282= 522
</description>
		<content:encoded><![CDATA[<p>Java: 324+413 = 737<br />
.NET: 240+282= 522</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Watkins</title>
		<link>http://gregluck.com/blog/archives/2005/01/performance-benchmark-results-jvm-vs-clr/comment-page-1/#comment-31</link>
		<dc:creator>Robert Watkins</dc:creator>
		<pubDate>Sun, 30 Jan 2005 10:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2005/01/performance-benchmark-results-jvm-vs-clr/#comment-31</guid>
		<description>Actually, the real reason why the CLR is &quot;faster&quot; than the JVM (for certain tasks, of course) is that Microsoft push a lot more tasks down to the native infrastructure that Windows provides. In other words, it does a lot less inside the CLR than Java does inside the JVM.
While Microsoft focus on a single platform for the CLR, this is a logical choice for performance improvements.
</description>
		<content:encoded><![CDATA[<p>Actually, the real reason why the CLR is &#8220;faster&#8221; than the JVM (for certain tasks, of course) is that Microsoft push a lot more tasks down to the native infrastructure that Windows provides. In other words, it does a lot less inside the CLR than Java does inside the JVM.<br />
While Microsoft focus on a single platform for the CLR, this is a logical choice for performance improvements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Look again</title>
		<link>http://gregluck.com/blog/archives/2005/01/performance-benchmark-results-jvm-vs-clr/comment-page-1/#comment-30</link>
		<dc:creator>Look again</dc:creator>
		<pubDate>Sun, 30 Jan 2005 09:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2005/01/performance-benchmark-results-jvm-vs-clr/#comment-30</guid>
		<description>You need to look again.    The number your cite aren&#039;t quite right, and your math is wrong -- 240 + 282 != 695.  It&#039;s 522, making JDK 1.5 41% faster than .net on the combine mflops.
Of course, you can&#039;t really add mflops like you did, but the numbers do indicate that for math, the JDK is about 40% faster.
</description>
		<content:encoded><![CDATA[<p>You need to look again.    The number your cite aren&#8217;t quite right, and your math is wrong &#8212; 240 + 282 != 695.  It&#8217;s 522, making JDK 1.5 41% faster than .net on the combine mflops.<br />
Of course, you can&#8217;t really add mflops like you did, but the numbers do indicate that for math, the JDK is about 40% faster.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

