<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/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>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: MaxFrameRate weird behavior with rendering</title><link>http://forums.silverlight.net/forums/thread/247643.aspx</link><pubDate>Sun, 12 Jul 2009 07:35:38 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:247643</guid><dc:creator>pkr2000</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/247643.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=247643</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Any SL3 benchmarks yet?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: MaxFrameRate weird behavior with rendering</title><link>http://forums.silverlight.net/forums/thread/171055.aspx</link><pubDate>Fri, 06 Feb 2009 16:44:48 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:171055</guid><dc:creator>Paul Willigan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/171055.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=171055</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Mark, can you tell me how to manually set a higher frame rate on Silverlight on a Windows XP machine?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any assistance would be appreciated.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Paul &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: MaxFrameRate weird behavior with rendering</title><link>http://forums.silverlight.net/forums/thread/117760.aspx</link><pubDate>Sun, 26 Oct 2008 19:47:38 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:117760</guid><dc:creator>pkr2000</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/117760.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=117760</wfw:commentRss><description>&lt;p&gt;Got some more &amp;quot;interesting&amp;quot; results for you; using the very same Mac but running Vista in a virtual machine (Parallels) both IE &amp;amp; Firefox show the same results and both are affected by the max-fps settings as you say, although both report approx 40 FPS at 500 which is considerably faster than the naitive OSX. So that would give us a clue that it&amp;#39;s the OS implementation that is affected by the max setting rather than the browser. I&amp;#39;d guess that the Win implementation is artifically throttling the FPS for some reason. The setting is very useful as I wouldn&amp;#39;t have to worry about time-deltas in game loops if I could restrict the max fps but I wouldn&amp;#39;t want to set it to 30 if that constrained it to 26 or set it to high to 40 and get 30+ which would be too quick. &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: MaxFrameRate weird behavior with rendering</title><link>http://forums.silverlight.net/forums/thread/117468.aspx</link><pubDate>Sat, 25 Oct 2008 21:09:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:117468</guid><dc:creator>bartczernicki</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/117468.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=117468</wfw:commentRss><description>&lt;p&gt;What I am finding out is that Silverlight is a great platform.&amp;nbsp; However, it has a lot of things under the covers like this that seem simply weird.&amp;nbsp; This is a HUGE thing when comparing different platforms and even baselining your own code in Silverlight.&lt;/p&gt;</description></item><item><title>Re: MaxFrameRate weird behavior with rendering</title><link>http://forums.silverlight.net/forums/thread/115810.aspx</link><pubDate>Thu, 23 Oct 2008 07:09:44 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:115810</guid><dc:creator>pkr2000</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/115810.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=115810</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t know the answer but I can add to the confusion. When I run your test on my dual-core Mac (FireFox) I see the FPS capped when selecting the low rate - no surprise there. However, when I set the rate to 30+ I achieve ~ 26 FPS regardless of the rate, i.e. I don&amp;#39;t see any change.&amp;nbsp; I assume that SL (or the browser) can&amp;#39;t request a priority boost from OS but perhaps there is some form of fixed steps on Windows. It would be interesting to get stats from different OS&amp;#39; including versions of Windows. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>MaxFrameRate weird behavior with rendering</title><link>http://forums.silverlight.net/forums/thread/115696.aspx</link><pubDate>Thu, 23 Oct 2008 04:28:25 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:115696</guid><dc:creator>bartczernicki</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/115696.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=115696</wfw:commentRss><description>&lt;p&gt;I updated the GUIMark code with Silverlight 2 RTW and I wrote a little article about it.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.silverlighthack.com/post/2008/10/21/Silveright-2-RTW-Performance-GUIMark.aspx"&gt;http://www.silverlighthack.com/post/2008/10/21/Silveright-2-RTW-Performance-GUIMark.aspx&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a demo of the new code working here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.silverlighthack.com/Examples/SilverlightGUIMark/GUIMark_Silverlight2RTMTestPage.html"&gt;http://www.silverlighthack.com/Examples/SilverlightGUIMark/GUIMark_Silverlight2RTMTestPage.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So this is what is weird.&amp;nbsp; You will notice that I have a Frame Rate radio button group, where the user can decide to set the Maximum frame rate: &lt;font color="#2b91af" size="2"&gt;Application&lt;/font&gt;&lt;font size="2"&gt;.Current.Host.Settings.MaxFrameRate&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;The default setting is 60.&amp;nbsp; Technically, this means that is the maximum number of times a render loop will fire per second.&amp;nbsp; Silverlight 2 RTW has a nice new way to ensure that the render loop fires that many times by using &lt;font color="#2b91af" size="2"&gt;CompositionTarget&lt;/font&gt;&lt;font size="2"&gt;.Rendering&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;I originally posted this code yesterday and some people posted in my article that Flas/Flex was showing a 15 FPS improvement over Silverlight.&amp;nbsp; I thought that was weird.&amp;nbsp; I started tweaking the MaxFrameRate and found some interesting stuff with the demo.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If I set the Frame Rate to 10..I get about 10 FPS&lt;/li&gt;
&lt;li&gt;If I set the Frame Rate to 20...I get about 20 FPS&lt;/li&gt;
&lt;li&gt;If I set the Frame Rate to 30...I get about 30 FPS&lt;/li&gt;
&lt;li&gt;If I set the Frame Rate to 40...I get about 40 FPS&lt;/li&gt;
&lt;li&gt;If I set the Frame Rate to 50...I get about 35 FPS&lt;/li&gt;
&lt;li&gt;If I set the Frame Rate to 60..I get about 35 FPS&lt;/li&gt;
&lt;li&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;If I set the Frame Rate to 7&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;0..I get about 35 FPS&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;If I set the Frame Rate to 100...I get about 40 FPS&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;If I set the Frame Rate to 200...I get about 43 FPS&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;If I set the Frame Rate to 500...I get about 45 FPS&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;I get that as I try to increase the amount of times the render event loop fires there is some overhead..so it makes sense that as I go up the FPS goes down a little.&amp;nbsp; However, why is it going back up after increasing it to 500??&amp;nbsp; To me this doesn&amp;#39;t make sense.&amp;nbsp; It almost sounds like there is different logic being used when the Frame Rate is set to something really high.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;I know that this is a moot point, since the human eye can&amp;#39;t notice anything more than about 31 FPS&amp;nbsp; But for baselining this is important vs Flash/Flex/JavaFx or testing performance.&amp;nbsp; Can anyone explain what is going on here??&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/font&gt;</description></item></channel></rss>