<?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: AS3 vs. JavaScript Performance Test</title>
	<atom:link href="http://jacksondunstan.com/articles/232/feed" rel="self" type="application/rss+xml" />
	<link>http://jacksondunstan.com/articles/232</link>
	<description>Mastering AS3</description>
	<lastBuildDate>Mon, 14 May 2012 17:02:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/232/comment-page-1#comment-2730</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Fri, 07 Jan 2011 18:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=232#comment-2730</guid>
		<description>The Flash version of the tests is written for Flash 9 and therefore does not make use of &lt;code&gt;Vector&lt;/code&gt;. I&#039;d be interested to know how you got a 10-30x improvement over &lt;code&gt;Array&lt;/code&gt; as &lt;a href=&quot;/articles/636&quot; rel=&quot;nofollow&quot;&gt;my&lt;/a&gt; &lt;a href=&quot;/articles/649&quot; rel=&quot;nofollow&quot;&gt;own&lt;/a&gt; &lt;a href=&quot;/articles/774&quot; rel=&quot;nofollow&quot;&gt;tests&lt;/a&gt; show a 0-2x performance improvement, depending on the type of &lt;code&gt;Vector&lt;/code&gt; and operation being performed on it.

As for the test&#039;s source code, you can get it in its entirety from &lt;a href=&quot;http://www.onflex.org/perf/srcview/&quot; rel=&quot;nofollow&quot;&gt;onflex.org&lt;/a&gt;. The JavaScript source is available from &lt;a href=&quot;http://www.oddhammer.com/actionscriptperformance/set4/HTML.zip&quot; rel=&quot;nofollow&quot;&gt;oddhammer.com&lt;/a&gt;. Both are linked at the bottom of the page I mentioned at the start of the article.

Also, check out the &lt;a href=&quot;/articles/534&quot; rel=&quot;nofollow&quot;&gt;followup&lt;/a&gt; &lt;a href=&quot;/articles/618&quot; rel=&quot;nofollow&quot;&gt;tests&lt;/a&gt; in this series for more up-to-date results.</description>
		<content:encoded><![CDATA[<p>The Flash version of the tests is written for Flash 9 and therefore does not make use of <code>Vector</code>. I&#8217;d be interested to know how you got a 10-30x improvement over <code>Array</code> as <a href="/articles/636" rel="nofollow">my</a> <a href="/articles/649" rel="nofollow">own</a> <a href="/articles/774" rel="nofollow">tests</a> show a 0-2x performance improvement, depending on the type of <code>Vector</code> and operation being performed on it.</p>
<p>As for the test&#8217;s source code, you can get it in its entirety from <a href="http://www.onflex.org/perf/srcview/" rel="nofollow">onflex.org</a>. The JavaScript source is available from <a href="http://www.oddhammer.com/actionscriptperformance/set4/HTML.zip" rel="nofollow">oddhammer.com</a>. Both are linked at the bottom of the page I mentioned at the start of the article.</p>
<p>Also, check out the <a href="/articles/534" rel="nofollow">followup</a> <a href="/articles/618" rel="nofollow">tests</a> in this series for more up-to-date results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raph</title>
		<link>http://jacksondunstan.com/articles/232/comment-page-1#comment-2728</link>
		<dc:creator>Raph</dc:creator>
		<pubDate>Fri, 07 Jan 2011 17:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=232#comment-2728</guid>
		<description>I don&#039;t know if the tests in AS3 take benefit from the Vector class instead of Array. I observed from 10 to 30 x speed improvement that Array.
Also the sources of the test suite isn&#039;t published completely and the test can&#039;t be run by individual observers. Overall it&#039;s good to see some numbers online but it lacks transparency.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if the tests in AS3 take benefit from the Vector class instead of Array. I observed from 10 to 30 x speed improvement that Array.<br />
Also the sources of the test suite isn&#8217;t published completely and the test can&#8217;t be run by individual observers. Overall it&#8217;s good to see some numbers online but it lacks transparency.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/232/comment-page-1#comment-738</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Wed, 21 Jul 2010 16:39:12 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=232#comment-738</guid>
		<description>You&#039;re spot-on about this test only measuring AS3 performance versus that of JavaScript, hence the title of the series. I&#039;m deliberately not testing anything related to graphics, sound, input, etc. in these tests. As for test averaging, I do post the raw data for anyone interesting in seeing the individual test times or computing an alternative (eg. geometric average) total time.

Let me know if you finish your port of a &quot;standard&quot; JavaScript benchmark. I&#039;d be really interested in seeing those results!</description>
		<content:encoded><![CDATA[<p>You&#8217;re spot-on about this test only measuring AS3 performance versus that of JavaScript, hence the title of the series. I&#8217;m deliberately not testing anything related to graphics, sound, input, etc. in these tests. As for test averaging, I do post the raw data for anyone interesting in seeing the individual test times or computing an alternative (eg. geometric average) total time.</p>
<p>Let me know if you finish your port of a &#8220;standard&#8221; JavaScript benchmark. I&#8217;d be really interested in seeing those results!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexis</title>
		<link>http://jacksondunstan.com/articles/232/comment-page-1#comment-736</link>
		<dc:creator>Alexis</dc:creator>
		<pubDate>Wed, 21 Jul 2010 15:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=232#comment-736</guid>
		<description>Nice bench. The problem, knowing the &quot;flash-bashing&quot; situation, is to handle the result with precaution :
- The bench only measure javascript vs actionscript performance, not the complete platform (flash vs html5).
- It compares total time of several tests, which means that if one much slower test while other are fastest might lead to a bad global result, even if the slower test is not often used in real case. I think it might be better to use geometric average of scores, rather that sum to times. Score being ratio of test time versus time of a average configuration.
I&#039;m currently working on porting &quot;standard&quot; Javascript benchmark (V8, Sunspider...) but it&#039;s a long term project, and results are sometimes surprising... and hard to explain.</description>
		<content:encoded><![CDATA[<p>Nice bench. The problem, knowing the &#8220;flash-bashing&#8221; situation, is to handle the result with precaution :<br />
- The bench only measure javascript vs actionscript performance, not the complete platform (flash vs html5).<br />
- It compares total time of several tests, which means that if one much slower test while other are fastest might lead to a bad global result, even if the slower test is not often used in real case. I think it might be better to use geometric average of scores, rather that sum to times. Score being ratio of test time versus time of a average configuration.<br />
I&#8217;m currently working on porting &#8220;standard&#8221; Javascript benchmark (V8, Sunspider&#8230;) but it&#8217;s a long term project, and results are sometimes surprising&#8230; and hard to explain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/232/comment-page-1#comment-617</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Sun, 18 Apr 2010 19:59:16 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=232#comment-617</guid>
		<description>Would you mind running the tests and posting your results? Also, note that the gap has widened further in &lt;a href=&quot;/articles/534&quot; rel=&quot;nofollow&quot;&gt;followup&lt;/a&gt; &lt;a href=&quot;/articles/618&quot; rel=&quot;nofollow&quot;&gt;tests&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Would you mind running the tests and posting your results? Also, note that the gap has widened further in <a href="/articles/534" rel="nofollow">followup</a> <a href="/articles/618" rel="nofollow">tests</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gazuraz</title>
		<link>http://jacksondunstan.com/articles/232/comment-page-1#comment-616</link>
		<dc:creator>gazuraz</dc:creator>
		<pubDate>Sun, 18 Apr 2010 13:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=232#comment-616</guid>
		<description>this is stupid. Javascript has a much slower Runtime than as3, and even as2. If I didnot tested it for my self I could believe you. Tel me, how dose the Apple pays for this kind of a reverse marketing?</description>
		<content:encoded><![CDATA[<p>this is stupid. Javascript has a much slower Runtime than as3, and even as2. If I didnot tested it for my self I could believe you. Tel me, how dose the Apple pays for this kind of a reverse marketing?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

