<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Performance drop under SL5 runtime</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Performance drop under SL5 runtime</description>
  <pubDate>Wed, 13 May 2026 06:25:35 -700</pubDate>
  <lastBuildDate>Tue, 24 Apr 2012 19:28:19 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3385</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Performance drop under SL5 runtime : That is great news! (the part...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13409#13409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=613" rel="nofollow">stephenmcd1</a><br /><strong>Subject:</strong> 3385<br /><strong>Posted:</strong> 24-Apr-2012 at 7:28pm<br /><br />That is great news! &nbsp;(the part about fixing it.....not so great that it required all-nighters :-)). &nbsp;We'll be looking forward to that release. &nbsp;Lots of good bug fixes.<div><br></div><div>Thanks again for the great support and turnaround!</div>]]>
   </description>
   <pubDate>Tue, 24 Apr 2012 19:28:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13409#13409</guid>
  </item> 
  <item>
   <title>Performance drop under SL5 runtime :   And another update - the developer...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13408#13408</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3385<br /><strong>Posted:</strong> 24-Apr-2012 at 7:00pm<br /><br />And another update - the developer pulled a few all-nighters and we will have the fix in the upcoming 6.1.7 release.]]>
   </description>
   <pubDate>Tue, 24 Apr 2012 19:00:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13408#13408</guid>
  </item> 
  <item>
   <title>Performance drop under SL5 runtime :   Once we have a fix we&amp;#039;ll...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13395#13395</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3385<br /><strong>Posted:</strong> 24-Apr-2012 at 9:12am<br /><br />Once we have a fix we'll probably release it as a patch to 6.1.7.&nbsp; Btw, the 6.1.7 release is scheduled for early May, so a patch would probably follow by a week or more.<div>&nbsp;</div><div>I also want to note that the problem is not specific to the 6.1.6 release, so downgrading to an earlier DevForce release won't help.</div>]]>
   </description>
   <pubDate>Tue, 24 Apr 2012 09:12:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13395#13395</guid>
  </item> 
  <item>
   <title>Performance drop under SL5 runtime :   I have been following this...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13389#13389</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1075" rel="nofollow">mtodd</a><br /><strong>Subject:</strong> 3385<br /><strong>Posted:</strong> 24-Apr-2012 at 6:34am<br /><br />I have been following this post and have experienced the exact same issue after upgrading to 6.1.6/SL5. It is great news to hear of the fix, and I look forward to any patch/fix when it becomes available!<div>&nbsp;</div><div>Mitch</div>]]>
   </description>
   <pubDate>Tue, 24 Apr 2012 06:34:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13389#13389</guid>
  </item> 
  <item>
   <title>Performance drop under SL5 runtime : Glad to hear the mystery has been...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13385#13385</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=613" rel="nofollow">stephenmcd1</a><br /><strong>Subject:</strong> 3385<br /><strong>Posted:</strong> 23-Apr-2012 at 6:51pm<br /><br />Glad to hear the mystery has been solved....or at least partially solved. &nbsp;I guess we'll hold off on upgrading to SL5 for a little bit. &nbsp;So do you think the fix will be in 6.1.8, then? &nbsp;Any rough estimates as to when that might be?<div><br></div><div>Thanks for looking into it!</div>]]>
   </description>
   <pubDate>Mon, 23 Apr 2012 18:51:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13385#13385</guid>
  </item> 
  <item>
   <title>Performance drop under SL5 runtime :   We&amp;#039;ve finally isolated...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13384#13384</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3385<br /><strong>Posted:</strong> 23-Apr-2012 at 6:43pm<br /><br />We've finally isolated the problem to the use of the generic IPropertyInterceptorArgs&lt;TInstance, TValue&gt; interface deep within the GetValue logic.&nbsp; Although we plan to rewrite this code to fix the issue, we don't anticipate that it will be ready for the upcoming 6.1.7 release.&nbsp; We'll also be filing an MS Connect bug once we've got a simple repro solution.<div>&nbsp;</div><div>Thanks for bringing this to our attention.</div>]]>
   </description>
   <pubDate>Mon, 23 Apr 2012 18:43:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13384#13384</guid>
  </item> 
  <item>
   <title>Performance drop under SL5 runtime :   Hi Stephen,Just to update...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13335#13335</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3385<br /><strong>Posted:</strong> 18-Apr-2012 at 10:45am<br /><br />Hi Stephen,<div>&nbsp;</div><div>Just to update you - we're still looking at this.  We see the problem too, but don't yet have an answer for what's causing the performance hit.  We don't have SL5-specific code - although we do provide natively compiled SL5 assemblies, all our Silverlight assemblies use the same code base, so it's not clear why the property GetValue logic is so much slower in the SL5 runtime.</div><div>&nbsp;</div><div>We'll let you know as soon as we learn more.</div>]]>
   </description>
   <pubDate>Wed, 18 Apr 2012 10:45:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13335#13335</guid>
  </item> 
  <item>
   <title>Performance drop under SL5 runtime : Thank you for the report stephenmcd1....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13284#13284</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3385<br /><strong>Posted:</strong> 11-Apr-2012 at 12:58pm<br /><br />Thank you for the report stephenmcd1. Let us analyze this a bit to understand what's going on.]]>
   </description>
   <pubDate>Wed, 11 Apr 2012 12:58:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13284#13284</guid>
  </item> 
  <item>
   <title>Performance drop under SL5 runtime : We are in the process of upgrading...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13277#13277</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=613" rel="nofollow">stephenmcd1</a><br /><strong>Subject:</strong> 3385<br /><strong>Posted:</strong> 10-Apr-2012 at 5:00pm<br /><br />We are in the process of upgrading our app to SL5 but have noticed a significant performance drop that is stopping us from moving forward. &nbsp;I was able to reproduce the problem in the '<a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-sample-silverlight-c&#111;nsole" target="_blank">Simple console app</a>' code sample. &nbsp;<div><br></div><div>To reproduce our problem, all I did was do a 'get' a bunch of entity properties (in this case, in a big loop but in our real app it's not so contrived). &nbsp;It appears the DataEntityProperty.GetValue(...) method has become a major slowdown for us. &nbsp;It's strange because we didn't re-target our app to SL5 or change anything else.:<table width="99%"><tr><td><pre class="BBcode">private void GotCustomers(EntityQueryOperation&lt;Customer&gt; args) {</div><div>&nbsp; &nbsp; _localOutput.Append(string.Format("&#091;{0}&#093; Retrieved {1} customers\n",</div><div>&nbsp; &nbsp; _nameBasicQuerySyntaxQuery, args.Results.Count()));</div><div><br></div><div>&nbsp; &nbsp; #region New Code</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; var start = DateTime.UtcNow;</div><div><br></div><div>&nbsp; &nbsp; //This is mostly just a dummy variable so we know that the code doesn't get optimized away</div><div>&nbsp; &nbsp; long dummyCounter = 0;</div><div><br></div><div>&nbsp; &nbsp; //Go through all customers</div><div>&nbsp; &nbsp; foreach (var customer in args.Results)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; //Loop a bunch of times so we have more accurate timings</div><div>&nbsp; &nbsp; &nbsp; &nbsp; for(var i = 1;i&lt;100000;i++ )</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //Access the .City property (which will eventually call DataEntityProperty.GetValue() which seem</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // &nbsp; to be a lot slower now)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dummyCounter += customer.City.Length;</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; //Print out the elapsed time</div><div>&nbsp; &nbsp; var elapsed = (DateTime.UtcNow - start).TotalSeconds;</div><div>&nbsp; &nbsp; _localOutput.AppendFormat("Silverlight Version {0} took {1} seconds", Environment.Version, elapsed);</div><div><br></div><div>&nbsp; &nbsp; #endregion</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Utility.FlushOutputBuffer(_localOutput, _resultsReporter);</div><div>}</pre></td></tr></table><div><div><br></div><div>Running this code under the Silverlight 4 versus Silverlight 5 (same machine), I get timings like this:</div><div><br></div><div>Version 4.1.10111.0 took 0.3280158 seconds</div><div>and then</div><div>Version 5.0.61118.0 took 6.809666 seconds</div><div><br></div></div></div><div>These timings are on a 'plain' box with just the client SL runtime. &nbsp;And all I did between those timings is upgrade to SL5 client runtime (no changes to the code). &nbsp;In our app, we aren't seeing quite that 20x slowdown but we are seeing about a 10x slowdown and it is painful.</div><div><br></div><div>This is all in DevForce version 6.1.6.0.</div>]]>
   </description>
   <pubDate>Tue, 10 Apr 2012 17:00:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3385&amp;PID=13277#13277</guid>
  </item> 
 </channel>
</rss>