<?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: Java vs. C benchmark #2: JET, harmony and GCJ</title>
	<atom:link href="http://www.stefankrause.net/wp/?feed=rss2&#038;p=6" rel="self" type="application/rss+xml" />
	<link>http://www.stefankrause.net/wp/?p=6</link>
	<description>{ throw new NoFunnyProverbFoundException(); }</description>
	<lastBuildDate>Sun, 14 Mar 2010 20:07:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Another Question on What Language to use!</title>
		<link>http://www.stefankrause.net/wp/?p=6&#038;cpage=1#comment-214</link>
		<dc:creator>Another Question on What Language to use!</dc:creator>
		<pubDate>Sun, 14 Mar 2010 20:07:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.stefankrause.net/wp/?p=6#comment-214</guid>
		<description>[...] hence they are not directly equivalent.         Really? Where&#039;d you get these statistics?    Stefan Krause.blog() Blog Archive Java vs. C benchmark #2: JET, harmony and GCJ      Well excuse me if I don&#039;t own my own server farm.    It is not needed. Server Java executes [...]</description>
		<content:encoded><![CDATA[<p>[...] hence they are not directly equivalent.         Really? Where&#8217;d you get these statistics?    Stefan Krause.blog() Blog Archive Java vs. C benchmark #2: JET, harmony and GCJ      Well excuse me if I don&#8217;t own my own server farm.    It is not needed. Server Java executes [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Maidanski</title>
		<link>http://www.stefankrause.net/wp/?p=6&#038;cpage=1#comment-212</link>
		<dc:creator>Ivan Maidanski</dc:creator>
		<pubDate>Fri, 12 Feb 2010 09:59:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.stefankrause.net/wp/?p=6#comment-212</guid>
		<description>Stefan, I could suggest another tool for the benchmark - JCGO (http://www.ivmaisoft.com/jcgo/), a Java-to-C ahead-of-time translator, which, in conjunction with a good C/C++ compiler, could produce a highly optimized native code for the targeted platform.</description>
		<content:encoded><![CDATA[<p>Stefan, I could suggest another tool for the benchmark &#8211; JCGO (<a href="http://www.ivmaisoft.com/jcgo/" rel="nofollow">http://www.ivmaisoft.com/jcgo/</a>), a Java-to-C ahead-of-time translator, which, in conjunction with a good C/C++ compiler, could produce a highly optimized native code for the targeted platform.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Krause.blog() &#187; Blog Archive &#187; Update For Java Benchmark</title>
		<link>http://www.stefankrause.net/wp/?p=6&#038;cpage=1#comment-134</link>
		<dc:creator>Stefan Krause.blog() &#187; Blog Archive &#187; Update For Java Benchmark</dc:creator>
		<pubDate>Wed, 02 Jul 2008 18:32:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.stefankrause.net/wp/?p=6#comment-134</guid>
		<description>[...] Stefan Krause.blog() { throw new NoFunnyProverbFoundException(); }      &#171; Java vs. C benchmark #2: JET, harmony and GCJ [...]</description>
		<content:encoded><![CDATA[<p>[...] Stefan Krause.blog() { throw new NoFunnyProverbFoundException(); }      &laquo; Java vs. C benchmark #2: JET, harmony and GCJ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://www.stefankrause.net/wp/?p=6&#038;cpage=1#comment-130</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Thu, 01 May 2008 08:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.stefankrause.net/wp/?p=6#comment-130</guid>
		<description>Stefan, I just wrote a Java benchmarking framework that may be of interest to you to use in benchmarking Java code.  In fact, this framework will be discussed as part of an article that I am writing for IBM developerWorks on measuring Java performance.  If interested, send me an email, and I can send you an article preprint.</description>
		<content:encoded><![CDATA[<p>Stefan, I just wrote a Java benchmarking framework that may be of interest to you to use in benchmarking Java code.  In fact, this framework will be discussed as part of an article that I am writing for IBM developerWorks on measuring Java performance.  If interested, send me an email, and I can send you an article preprint.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deniz Oguz</title>
		<link>http://www.stefankrause.net/wp/?p=6&#038;cpage=1#comment-47</link>
		<dc:creator>Deniz Oguz</dc:creator>
		<pubDate>Tue, 11 Mar 2008 06:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.stefankrause.net/wp/?p=6#comment-47</guid>
		<description>I am afraid you are right. There is only x64 versions. Currently only 6u4-p download is available and said to be %10 behind of 6u5-p. I hadn&#039;t check it before :(
I do not have too much information between performance releases and normal releases. From the blog I expect their JIT compiler produce more effective code.</description>
		<content:encoded><![CDATA[<p>I am afraid you are right. There is only x64 versions. Currently only 6u4-p download is available and said to be %10 behind of 6u5-p. I hadn&#8217;t check it before <img src='http://www.stefankrause.net/wp/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
I do not have too much information between performance releases and normal releases. From the blog I expect their JIT compiler produce more effective code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.stefankrause.net/wp/?p=6&#038;cpage=1#comment-46</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 10 Mar 2008 22:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.stefankrause.net/wp/?p=6#comment-46</guid>
		<description>Wow - it&#039;s the first time I heard of &quot;-p&quot; releases. The link and download page don&#039;t have much information about them. For linux there&#039;s just a x64 version, is that right? What are the differences to the normal releases? Is 6u5-p already available as a download?</description>
		<content:encoded><![CDATA[<p>Wow &#8211; it&#8217;s the first time I heard of &#8220;-p&#8221; releases. The link and download page don&#8217;t have much information about them. For linux there&#8217;s just a x64 version, is that right? What are the differences to the normal releases? Is 6u5-p already available as a download?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deniz Oguz</title>
		<link>http://www.stefankrause.net/wp/?p=6&#038;cpage=1#comment-45</link>
		<dc:creator>Deniz Oguz</dc:creator>
		<pubDate>Mon, 10 Mar 2008 20:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.stefankrause.net/wp/?p=6#comment-45</guid>
		<description>Hi stefan,

Could you try lates performance release of JDK 6.0? JDK 6.0-u5-p is a result of collaboration between intel and sun and as stated in the following blog it has world record on specjbb2005. http://blogs.sun.com/dagastine/entry/slam_specjbb2005_world_record_on1
You could download it at http://java.sun.com/javase/technologies/performance.jsp
Thanks for your efforts.</description>
		<content:encoded><![CDATA[<p>Hi stefan,</p>
<p>Could you try lates performance release of JDK 6.0? JDK 6.0-u5-p is a result of collaboration between intel and sun and as stated in the following blog it has world record on specjbb2005. <a href="http://blogs.sun.com/dagastine/entry/slam_specjbb2005_world_record_on1" rel="nofollow">http://blogs.sun.com/dagastine/entry/slam_specjbb2005_world_record_on1</a><br />
You could download it at <a href="http://java.sun.com/javase/technologies/performance.jsp" rel="nofollow">http://java.sun.com/javase/technologies/performance.jsp</a><br />
Thanks for your efforts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vitaly Mikheev</title>
		<link>http://www.stefankrause.net/wp/?p=6&#038;cpage=1#comment-39</link>
		<dc:creator>Vitaly Mikheev</dc:creator>
		<pubDate>Tue, 06 Nov 2007 08:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.stefankrause.net/wp/?p=6#comment-39</guid>
		<description>Hi Stefan,

If people start reading the &quot;Java vs. C performance&quot; series from the November issue, they may be unaware of that you &quot;warm-up&quot; JVMs with dynamic compilers before measuring the time so the peak performance is actually reported.

I think it would be useful to clearly mention it each time and give a link to the description of your testing methodology.

---------------

[&#039;bout GCJ:] 
&quot;These settings prevent array store and bounds checking so I’ve even allowed aggressive optimizations that violate the JLS. This optimization might be considered unfair because the other VMs have to perform those checks&quot;

It&#039;s ok for benchmarking.  I beleive JVMs should do a better job to remove index checks and show good comparative results even if checks are turned off for GCJ or no checks are generated by C compilers.

Thanks,
--Vitaly</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>If people start reading the &#8220;Java vs. C performance&#8221; series from the November issue, they may be unaware of that you &#8220;warm-up&#8221; JVMs with dynamic compilers before measuring the time so the peak performance is actually reported.</p>
<p>I think it would be useful to clearly mention it each time and give a link to the description of your testing methodology.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>['bout GCJ:]<br />
&#8220;These settings prevent array store and bounds checking so I’ve even allowed aggressive optimizations that violate the JLS. This optimization might be considered unfair because the other VMs have to perform those checks&#8221;</p>
<p>It&#8217;s ok for benchmarking.  I beleive JVMs should do a better job to remove index checks and show good comparative results even if checks are turned off for GCJ or no checks are generated by C compilers.</p>
<p>Thanks,<br />
&#8211;Vitaly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Isaac Gouy</title>
		<link>http://www.stefankrause.net/wp/?p=6&#038;cpage=1#comment-34</link>
		<dc:creator>Isaac Gouy</dc:creator>
		<pubDate>Mon, 05 Nov 2007 21:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.stefankrause.net/wp/?p=6#comment-34</guid>
		<description>&quot;aren’t perfectly scientific&quot;

My guess is that with so few samples the t-test is pretty meaningless.


I&#039;m won&#039;t quarrel about whether you have enough time or not, obviously it&#039;s different from my perspective. You have programs running 10 20 50 seconds and the benchmarks game has programs running 9,000 13,000 seconds - so it just seemed possible for you to do more samples.</description>
		<content:encoded><![CDATA[<p>&#8220;aren’t perfectly scientific&#8221;</p>
<p>My guess is that with so few samples the t-test is pretty meaningless.</p>
<p>I&#8217;m won&#8217;t quarrel about whether you have enough time or not, obviously it&#8217;s different from my perspective. You have programs running 10 20 50 seconds and the benchmarks game has programs running 9,000 13,000 seconds &#8211; so it just seemed possible for you to do more samples.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.stefankrause.net/wp/?p=6&#038;cpage=1#comment-32</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 05 Nov 2007 20:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.stefankrause.net/wp/?p=6#comment-32</guid>
		<description>Hi Issac, the sample size hasn&#039;t changed (i.e. the sample size is only 4), I understand and accept your criticism that these benchmarks aren&#039;t perfectly scientific (with one reason that the sample size is too small).
However I&#039;m not going to change the sample size simply because I don&#039;t have enough time for it and that&#039;s not the purpose of those benchmarks (you could do that on the language shootout, but since JRockit has a much larger warmup phase than Hotspot the tests should be adapted to run multiple times in one process like here or at least take much longer). 
These benchmarks here should show the peek performance of JVMs compared to each other and C++. I think the results presented here are exact enough for deciding whether the factor 2-3 is true or not (And depending on the benchmark it is or is not...). Harmony wouldn&#039;t beat C++ if sample size went up and the hotspot compilers wouldn&#039;t perform any better for fannkuch either.

Still to justify publishing a ranking even when results were very close like for nbody: I agree that small differences could affect the results, but the samples had very small variation.Tests that showed a large variation were rerun to eliminate influence by other OS processes as much as I could. You can take a look at a &quot;scatterplot&quot; (or at least what can be done easily with openoffice) for NBody on http://www.stefankrause.net/wp/imgs/scatterplot_nbody.jpeg (The first sample is the warmup run that has been left out. You can see that JRockit indeed has a much slower warmup phase)</description>
		<content:encoded><![CDATA[<p>Hi Issac, the sample size hasn&#8217;t changed (i.e. the sample size is only 4), I understand and accept your criticism that these benchmarks aren&#8217;t perfectly scientific (with one reason that the sample size is too small).<br />
However I&#8217;m not going to change the sample size simply because I don&#8217;t have enough time for it and that&#8217;s not the purpose of those benchmarks (you could do that on the language shootout, but since JRockit has a much larger warmup phase than Hotspot the tests should be adapted to run multiple times in one process like here or at least take much longer).<br />
These benchmarks here should show the peek performance of JVMs compared to each other and C++. I think the results presented here are exact enough for deciding whether the factor 2-3 is true or not (And depending on the benchmark it is or is not&#8230;). Harmony wouldn&#8217;t beat C++ if sample size went up and the hotspot compilers wouldn&#8217;t perform any better for fannkuch either.</p>
<p>Still to justify publishing a ranking even when results were very close like for nbody: I agree that small differences could affect the results, but the samples had very small variation.Tests that showed a large variation were rerun to eliminate influence by other OS processes as much as I could. You can take a look at a &#8220;scatterplot&#8221; (or at least what can be done easily with openoffice) for NBody on <a href="http://www.stefankrause.net/wp/imgs/scatterplot_nbody.jpeg" rel="nofollow">http://www.stefankrause.net/wp/imgs/scatterplot_nbody.jpeg</a> (The first sample is the warmup run that has been left out. You can see that JRockit indeed has a much slower warmup phase)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
