<?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: Reducing CPU usage in Adobe AIR</title>
	<atom:link href="http://www.webkitchen.be/2009/10/20/reducing-cpu-usage-in-adobe-air/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webkitchen.be/2009/10/20/reducing-cpu-usage-in-adobe-air/</link>
	<description>Life as an Adobe platform evangelist</description>
	<lastBuildDate>Thu, 29 Jul 2010 19:15:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Alex Fisherr</title>
		<link>http://www.webkitchen.be/2009/10/20/reducing-cpu-usage-in-adobe-air/comment-page-1/#comment-11652</link>
		<dc:creator>Alex Fisherr</dc:creator>
		<pubDate>Fri, 23 Apr 2010 20:10:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.webkitchen.be/?p=1753#comment-11652</guid>
		<description>Hello all, 
                 I am relatively new to Adobe AIR and I&#039;ve made a small application that only plays some video files on screen. The application doesn&#039;t have any border or chrome at all. A simple movie player.

I have used both the VideoDisplay &amp; Video class with NetStream object to play the files but both take almost 100% of my CPU resources. I am running it on windows XP with 2.4GHz processor and 1 GB RAM. I tried both AIR 1.5 &amp; 2.0 but of no use. 

I tried lowering the framerate to 10 and yet it only brought the usage to 90 or 85% mark, obviously very high value for a simple video player. Is there any way that I can use to reduce this CPU usage in my application. 

Thanks</description>
		<content:encoded><![CDATA[<p>Hello all,<br />
                 I am relatively new to Adobe AIR and I&#8217;ve made a small application that only plays some video files on screen. The application doesn&#8217;t have any border or chrome at all. A simple movie player.</p>
<p>I have used both the VideoDisplay &amp; Video class with NetStream object to play the files but both take almost 100% of my CPU resources. I am running it on windows XP with 2.4GHz processor and 1 GB RAM. I tried both AIR 1.5 &amp; 2.0 but of no use. </p>
<p>I tried lowering the framerate to 10 and yet it only brought the usage to 90 or 85% mark, obviously very high value for a simple video player. Is there any way that I can use to reduce this CPU usage in my application. </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Processor Benchmark</title>
		<link>http://www.webkitchen.be/2009/10/20/reducing-cpu-usage-in-adobe-air/comment-page-1/#comment-7945</link>
		<dc:creator>Processor Benchmark</dc:creator>
		<pubDate>Fri, 05 Mar 2010 16:41:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.webkitchen.be/?p=1753#comment-7945</guid>
		<description>Sweet.... This is what I&#039;m looking for</description>
		<content:encoded><![CDATA[<p>Sweet&#8230;. This is what I&#8217;m looking for</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonnie</title>
		<link>http://www.webkitchen.be/2009/10/20/reducing-cpu-usage-in-adobe-air/comment-page-1/#comment-5796</link>
		<dc:creator>Jonnie</dc:creator>
		<pubDate>Tue, 20 Oct 2009 12:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.webkitchen.be/?p=1753#comment-5796</guid>
		<description>Thanks for the plug, Serge!</description>
		<content:encoded><![CDATA[<p>Thanks for the plug, Serge!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Youri</title>
		<link>http://www.webkitchen.be/2009/10/20/reducing-cpu-usage-in-adobe-air/comment-page-1/#comment-5790</link>
		<dc:creator>Youri</dc:creator>
		<pubDate>Tue, 20 Oct 2009 11:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.webkitchen.be/?p=1753#comment-5790</guid>
		<description>@Dan Love: I already use object pooling (in AIR apps), and i clean things up. I would just like so see Adobe make things a bit easier for developers. I would like to be able to say &quot;remove this movieclip and EVERYTHING in it&quot;. Now I have to manually clean up listeners and timers, stop running loaders, remove bitmapdata, delete variables, ...

And if you have MC&#039;s nested in other MC&#039;s again nested in MC&#039;s all running their own script, then it can be a real pain in the ass if you want to remove the parent clip and clean up everything in it. Especially if you don&#039;t know what&#039;s in it at the time it needs to be removed.

And yes, I have my own way of solving all these problems, but I still believe Adobe can do better on this (instead of investing more time in Flex :-) )</description>
		<content:encoded><![CDATA[<p>@Dan Love: I already use object pooling (in AIR apps), and i clean things up. I would just like so see Adobe make things a bit easier for developers. I would like to be able to say &#8220;remove this movieclip and EVERYTHING in it&#8221;. Now I have to manually clean up listeners and timers, stop running loaders, remove bitmapdata, delete variables, &#8230;</p>
<p>And if you have MC&#8217;s nested in other MC&#8217;s again nested in MC&#8217;s all running their own script, then it can be a real pain in the ass if you want to remove the parent clip and clean up everything in it. Especially if you don&#8217;t know what&#8217;s in it at the time it needs to be removed.</p>
<p>And yes, I have my own way of solving all these problems, but I still believe Adobe can do better on this (instead of investing more time in Flex :-) )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Love</title>
		<link>http://www.webkitchen.be/2009/10/20/reducing-cpu-usage-in-adobe-air/comment-page-1/#comment-5785</link>
		<dc:creator>Dan Love</dc:creator>
		<pubDate>Tue, 20 Oct 2009 09:58:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.webkitchen.be/?p=1753#comment-5785</guid>
		<description>@Youri
I don&#039;t agree that an AIR application (or Flash website, banner, or RIA) requires workarounds and hacks to achieve a decent level of memory or CPU usage.
If developers don&#039;t clean up after themselves, and use techniques such as object pooling (http://www.lostinactionscript.com/blog/index.php/2008/10/30/object-pooling-in-as3/) then you&#039;re setting yourself up to fail.</description>
		<content:encoded><![CDATA[<p>@Youri<br />
I don&#8217;t agree that an AIR application (or Flash website, banner, or RIA) requires workarounds and hacks to achieve a decent level of memory or CPU usage.<br />
If developers don&#8217;t clean up after themselves, and use techniques such as object pooling (<a href="http://www.lostinactionscript.com/blog/index.php/2008/10/30/object-pooling-in-as3/" rel="nofollow">http://www.lostinactionscript.com/blog/index.php/2008/10/30/object-pooling-in-as3/</a>) then you&#8217;re setting yourself up to fail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ain</title>
		<link>http://www.webkitchen.be/2009/10/20/reducing-cpu-usage-in-adobe-air/comment-page-1/#comment-5777</link>
		<dc:creator>Ain</dc:creator>
		<pubDate>Tue, 20 Oct 2009 07:52:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.webkitchen.be/?p=1753#comment-5777</guid>
		<description>Yup, great article. Apps like TweetDeck are in a constant lag (well, slightly better lately though), so it totally makes sense to all of us.</description>
		<content:encoded><![CDATA[<p>Yup, great article. Apps like TweetDeck are in a constant lag (well, slightly better lately though), so it totally makes sense to all of us.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Youri</title>
		<link>http://www.webkitchen.be/2009/10/20/reducing-cpu-usage-in-adobe-air/comment-page-1/#comment-5776</link>
		<dc:creator>Youri</dc:creator>
		<pubDate>Tue, 20 Oct 2009 07:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.webkitchen.be/?p=1753#comment-5776</guid>
		<description>I managed to create an AIR app that sends and loads lots of external data and images and still remain CPU friendly. So yes, it is possible. But what frustrates me is that we get such a powerfull tool (flash/actionscript) but we must use it soooo carefuly and use all sorts off workarounds when developing an AIR app to keep the CPU usage at a low level. I don&#039;t think that sort of stuff should be the developers problem but should rather be fixed (or improved) by Adobe. Flash developers have always pushed Flash to the extreme. With AIR, developers are held back again.</description>
		<content:encoded><![CDATA[<p>I managed to create an AIR app that sends and loads lots of external data and images and still remain CPU friendly. So yes, it is possible. But what frustrates me is that we get such a powerfull tool (flash/actionscript) but we must use it soooo carefuly and use all sorts off workarounds when developing an AIR app to keep the CPU usage at a low level. I don&#8217;t think that sort of stuff should be the developers problem but should rather be fixed (or improved) by Adobe. Flash developers have always pushed Flash to the extreme. With AIR, developers are held back again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
