<?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"
	>
<channel>
	<title>Comments on: Java Bean mapper performance tests</title>
	<atom:link href="http://www.christianschenk.org/blog/java-bean-mapper-performance-tests/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christianschenk.org/blog/java-bean-mapper-performance-tests/</link>
	<description>Writing about my experiences with technology and all different kinds of projects and experiments</description>
	<pubDate>Thu, 04 Dec 2008 06:09:31 +0000</pubDate>
	
		<item>
		<title>By: Christian Schenk</title>
		<link>http://www.christianschenk.org/blog/java-bean-mapper-performance-tests/#comment-1573</link>
		<dc:creator>Christian Schenk</dc:creator>
		<pubDate>Tue, 17 Jun 2008 15:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/blog/java-bean-mapper-performance-tests/#comment-1573</guid>
		<description>Hi AA,
you're totally right that the tests aren't &lt;em&gt;that&lt;/em&gt; accurate. All I wanted to do was to give some hint about the performance for the various implementations - as you suggest we shouldn't rely on these figures but test the performance in &lt;em&gt;real&lt;/em&gt; applications instead for better results.</description>
		<content:encoded><![CDATA[<p>Hi AA,<br />
you&#8217;re totally right that the tests aren&#8217;t <em>that</em> accurate. All I wanted to do was to give some hint about the performance for the various implementations - as you suggest we shouldn&#8217;t rely on these figures but test the performance in <em>real</em> applications instead for better results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AA</title>
		<link>http://www.christianschenk.org/blog/java-bean-mapper-performance-tests/#comment-1572</link>
		<dc:creator>AA</dc:creator>
		<pubDate>Tue, 17 Jun 2008 10:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/blog/java-bean-mapper-performance-tests/#comment-1572</guid>
		<description>I downloaded the sources. There are some issues when measuring the performance this way (PerformanceComparison class):

&lt;ul&gt;
&lt;li&gt;You should only measure the time it takes to fill the bean with another. Now most of the time is spent in your test code.&lt;/li&gt;
&lt;li&gt;If you only measure a bean with ints (like the test does) you get different results compared to measuring beans that contain objects (often beans contain more objects than primitives).&lt;/li&gt;
&lt;li&gt;Hand coded simple class that uses introspection is a lot faster (3x faster) if you cache Methods efficiently and use &lt;code&gt;Method.setAccessible(true)&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

So, the results give some hint about what's going on, but I recommend that one should not rely on those figures.</description>
		<content:encoded><![CDATA[<p>I downloaded the sources. There are some issues when measuring the performance this way (PerformanceComparison class):</p>
<ul>
<li>You should only measure the time it takes to fill the bean with another. Now most of the time is spent in your test code.</li>
<li>If you only measure a bean with ints (like the test does) you get different results compared to measuring beans that contain objects (often beans contain more objects than primitives).</li>
<li>Hand coded simple class that uses introspection is a lot faster (3x faster) if you cache Methods efficiently and use <code>Method.setAccessible(true)</code>.</li>
</ul>
<p>So, the results give some hint about what&#8217;s going on, but I recommend that one should not rely on those figures.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kwangsu kim</title>
		<link>http://www.christianschenk.org/blog/java-bean-mapper-performance-tests/#comment-1394</link>
		<dc:creator>kwangsu kim</dc:creator>
		<pubDate>Thu, 24 Apr 2008 01:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/blog/java-bean-mapper-performance-tests/#comment-1394</guid>
		<description>thanks for user test.</description>
		<content:encoded><![CDATA[<p>thanks for user test.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
