<?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; optimization</title>
	<atom:link href="http://bimehq.com/tag/optimization/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>Slicing and dicing 3 millions of rows in a web browser&#8230;</title>
		<link>http://bimehq.com/business-intelligence/slicing-dicing-3-millions-rows-web-browser/</link>
		<comments>http://bimehq.com/business-intelligence/slicing-dicing-3-millions-rows-web-browser/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 09:54:07 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[business intelligence]]></category>
		<category><![CDATA[bime]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[optimization]]></category>

		<guid isPermaLink="false">http://bimehq.com/?p=401</guid>
		<description><![CDATA[<p>...well not precisely a web browser. The video below uses the desktop version of Bime, it is an Air Application and it runs the exact same code as the web version. ]]></description>
			<content:encoded><![CDATA[<p>&#8230;well not precisely a web browser. The video below uses the desktop version of Bime, it is an Air Application and it runs the exact same code as the web version. So all you see in this video is possible in the browser. We only used the desktop version to be able to connect directly to the relational database. With &#8220;déjà vu&#8221;, our distributed cache, deployed in the coming weeks, we&#8217;ll be able to do the exact same test within a true web browser environment.  The test was done on the following configuration:</p>
<ul>
<li>standard mac book pro 2Gb of Rams.</li>
<li>Database is Sql Server 2005 that runs in a virtual machine on the same machine.</li>
<li>3,5 millions of rows. The dataset has dimensions with a pretty low cardinality.</li>
<li>We skipped data retrieve time. We use standard JDBC here. However, we have a small performance impact above JDBC as we need to marshal data between Flex and Java.</li>
</ul>
<p>For Flex developers interested in what&#8217;s happening under the wood, we used heavily vectors to build the OLAP engine. It would be impossible to achieve this level of performance with standard Array. We used green thread to optimize the rendering. Merapi is used for the bridge between Java and Air&#8230; </p>
<div class="spacer"></div>
<p> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="700" height="525" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="file=http%3A%2F%2Fvideos.bimeapp.com.s3.amazonaws.com%2F3Mrows.f4v&amp;autostart=false&amp;plugins=viral-1d" /><param name="src" value="http://d32p8igxdo0gkd.cloudfront.net/mediaplayer.swf?file=http://d32p8igxdo0gkd.cloudfront.net/3Mrows.f4v&amp;autostart=false" /><embed type="application/x-shockwave-flash" width="700" height="525" src="http://d32p8igxdo0gkd.cloudfront.net/mediaplayer.swf?file=http://d32p8igxdo0gkd.cloudfront.net/3Mrows.f4v&amp;autostart=false" flashvars="file=http%3A%2F%2Fvideos.bimeapp.com.s3.amazonaws.com%2F3Mrows.f4v&amp;autostart=false&amp;plugins=viral-1d"></embed></object></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/slicing-dicing-3-millions-rows-web-browser/feed/</wfw:commentRss>
		<slash:comments>0</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>
