<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bime - SAAS Business Intelligence (BI)&#187; as3</title>
	<atom:link href="http://bimehq.com/tag/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://bimehq.com</link>
	<description>business intelligence &#38; data visualization</description>
	<lastBuildDate>Fri, 10 Sep 2010 08:27:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AS3 performance tester weekly update</title>
		<link>http://bimehq.com/business-intelligence/as3-performance-tester-weekly-update/</link>
		<comments>http://bimehq.com/business-intelligence/as3-performance-tester-weekly-update/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 06:33:07 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[business intelligence]]></category>
		<category><![CDATA[as3]]></category>

		<guid isPermaLink="false">http://bimehq.com/?p=902</guid>
		<description><![CDATA[<p>The pitch: don't guess anymore. Finaly, discover the fastest way of doing things in ActionScript. This update contains performance tests for:</p>]]></description>
			<content:encoded><![CDATA[<p>The pitch: don&#8217;t guess anymore. Finaly, discover the fastest way of doing things in ActionScript. This update contains performance tests for:</p>
<p>* flash player 10&#8217;s vectors (only indexing for now)</p>
<p>* instantiation of Array, Object, Vector and (very expensive) ArrayCollection </p>
<p>* different type of loop</p>
<p>and more!</p>
<div class="spacer"></div>
<p><a href="http://businessintelligence.me/projects/performance_tester/performanceTester.html"><img src="http://businessintelligence.me/wp-content/uploads/2008/12/performance_tester2.png" alt="we are cloud performance tester" title="performance_tester2" width="700" height="469" class="alignnone size-full wp-image-959" /></a></p>
<div class="spacer"></div>
<p>It&#8217;s important to remember to always take this benchmark with a grain of salt. That said, if you feel the benchmarks being tested are lame, feel free to contribute to code on <a href="http://github.com/nicolas/as3-performance--tester/tree/master">github</a>. Also, I used a lot of blog posts written by others to do this. Even if there are some comments in the source code, it lacks  some proper credits. Sorry about that guys but justice will be done in the next update.</p>
<div class="spacer"></div>
<p><a href="http://businessintelligence.me/projects/performance_tester/performanceTester.html">the application</a></p>
<p><a href="http://github.com/nicolas/as3-performance--tester/tree/master">the source</a></p>
<p><a href="http://wac.lighthouseapp.com/projects/21165-as3-performance-explorer/overview">the lighthouse project</a></p>


<p align="left">Ready to try Bime? <a href="http://www.bimeapp.com/account/new?language=en" target="_blank" style="color:blue">Take the free trial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bimehq.com/business-intelligence/as3-performance-tester-weekly-update/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Optimize your Flex / Flash app with the AS3 performance explorer</title>
		<link>http://bimehq.com/data-visualization/optimize-flex-flash-app-as3-performance-explorer/</link>
		<comments>http://bimehq.com/data-visualization/optimize-flex-flash-app-as3-performance-explorer/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 07:05:36 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[data visualization]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[optimization]]></category>

		<guid isPermaLink="false">http://bimehq.com/?p=914</guid>
		<description><![CDATA[<p>For one week, Lucy and Martim are changing the algorithm used to calculate the OLAP cube in <a href='http://businessintelligence.me'>bime</a>. In this task, performance is everything as the same line of code can be executed millions of times.</p>]]></description>
			<content:encoded><![CDATA[<p>For one week, Lucy and Martim are changing the algorithm used to calculate the OLAP cube in <a href='http://businessintelligence.me'>bime</a>. In this task, performance is everything as the same line of code can be executed millions of times.</p>
<div class="spacer"></div>
<p>To help us, we build an application, open source (MIT), the &#8220;AS3 performance tester&#8221;, that takes some operations (such as incrementing a variable) and measure the time consumed by the different options you can use to achieve the operation.</p>
<div class="spacer"></div>
<p><a href="http://businessintelligence.me/projects/performance_tester/performanceTester.html"><img src="http://businessintelligence.me/wp-content/uploads/2008/12/performance_tester2.png" alt="we are cloud performance tester" title="performance_tester2" width="700" height="469" class="alignnone size-full wp-image-959" /></a></p>
<div class="spacer"></div>
<p>There are a lot of resources on the web about AS3 performance but none seem to embrace the whole problem. Enter the AS3 performance tester. With it, we are trying to build a comprehensive tool that demonstrates (with tests) which syntax for a particular task is the most performant in AS3.</p>
<div class="spacer"></div>
<p>But first things first with the usuals:</p>
<blockquote><p>More Computing sins are committed in the name of efficiency than any other reason including blind stupidity”–W.A. Wulf </p></blockquote>
<blockquote><p>“Premature Optimization is the root of all evil.”-Hoare and Knuth </p></blockquote>
<blockquote><p>“Bottlenecks occur in surprising places, so don’t try to second guess and<br />
put in a speed hack until you have proven that’s where the bottleneck is.”-<br />
Rob Pike</p></blockquote>
<p>Nevertheless, here we talk of the basic of the AS3 language. Things you do in your everyday programming. Do you know the faster way to loop over an array ? Do you know that division is slower than multiplication and slower than bitwise operations ?</p>
<div class="spacer"></div>
<p>Most of the time, to provide accurate metrics, we loop on the operation a number of times and we calculate the mean. This application will evolve to include more robust tests.</p>
<p>We also used the <a href="http://www.riaone.com/products/deval/index.html">D.eval</a> library to allow the user to enter 2 scripts and compare performance on the fly. It uses a kind of eval() function so the code is <strong>much slower</strong> than actual compiled code. Nevertheless, our tests, so far, show that the proportions are right: a script slower with the eval() will be slower when compiled. Nevertheless, we mark this feature as highly experimental as my understanding of what the D.eval do can give improper results.</p>
<div class="spacer"></div>
<p><a href="http://businessintelligence.me/projects/performance_tester/performanceTester.html">the application</a></p>
<p><a href="http://github.com/nicolas/as3-performance--tester/tree/master">the source</a></p>
<p><a href="http://wac.lighthouseapp.com/projects/21165-as3-performance-explorer/overview">the lighthouse project</a></p>


<p align="left">Ready to try Bime? <a href="http://www.bimeapp.com/account/new?language=en" target="_blank" style="color:blue">Take the free trial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bimehq.com/data-visualization/optimize-flex-flash-app-as3-performance-explorer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
